summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/common_decoder.h
diff options
context:
space:
mode:
authorandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 22:26:48 +0000
committerandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 22:26:48 +0000
commitce383f32a1bfbe4ca33b88a0cbbb79c7f077428d (patch)
treeff8effb0f58e6f1b0395a0c98f7e385e43cc1f23 /gpu/command_buffer/service/common_decoder.h
parente667807890b931d41a4529165bedef5203382bbd (diff)
downloadchromium_src-ce383f32a1bfbe4ca33b88a0cbbb79c7f077428d.zip
chromium_src-ce383f32a1bfbe4ca33b88a0cbbb79c7f077428d.tar.gz
chromium_src-ce383f32a1bfbe4ca33b88a0cbbb79c7f077428d.tar.bz2
Revert 67293 BrowserTestCanLaunchWithOSMesa was consistently failing - Initialize destinations variables before calling GL functions
because if the context is lost those variables will be uninitialized. TEST=ran chrome, conformance tests, unit tests and hand edited gles2_demo to test BUG=none Review URL: http://codereview.chromium.org/5305005 TBR=gman@chromium.org Review URL: http://codereview.chromium.org/5383001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67328 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/common_decoder.h')
-rw-r--r--gpu/command_buffer/service/common_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/common_decoder.h b/gpu/command_buffer/service/common_decoder.h
index ea4e520..7abc016 100644
--- a/gpu/command_buffer/service/common_decoder.h
+++ b/gpu/command_buffer/service/common_decoder.h
@@ -73,7 +73,7 @@ class CommonDecoder : public AsyncAPIInterface {
// Sets the bucket data from a string. Strings are passed NULL terminated to
// distinguish between empty string and no string.
- void SetFromString(const char* str);
+ void SetFromString(const std::string& str);
// Gets the bucket data as a string. Strings are passed NULL terminated to
// distrinquish between empty string and no string. Returns False if there