diff options
author | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-13 00:19:42 +0000 |
---|---|---|
committer | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-13 00:19:42 +0000 |
commit | 91b104034308452e32b4bb99498afe1724febbb9 (patch) | |
tree | 4ae1402d2daf41ab9c940730685091f107432b03 /content | |
parent | 5736299f6a3a48b915354a7d8f5d30994620b21e (diff) | |
download | chromium_src-91b104034308452e32b4bb99498afe1724febbb9.zip chromium_src-91b104034308452e32b4bb99498afe1724febbb9.tar.gz chromium_src-91b104034308452e32b4bb99498afe1724febbb9.tar.bz2 |
Fix the incorrect method name override.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6820079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/renderer/webgraphicscontext3d_command_buffer_impl.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/renderer/webgraphicscontext3d_command_buffer_impl.cc b/content/renderer/webgraphicscontext3d_command_buffer_impl.cc index 6f23d2da..39e7919 100644 --- a/content/renderer/webgraphicscontext3d_command_buffer_impl.cc +++ b/content/renderer/webgraphicscontext3d_command_buffer_impl.cc @@ -22,6 +22,7 @@ #include "chrome/renderer/render_thread.h" #include "content/renderer/gpu_channel_host.h" #include "content/renderer/render_view.h" +#include "gpu/command_buffer/common/constants.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" @@ -346,7 +347,7 @@ void WebGraphicsContext3DCommandBufferImpl::getParentToChildLatchCHROMIUM( if (!context_->GetParentToChildLatch(latch_id)) { LOG(ERROR) << "getLatch must only be called on child context"; synthesizeGLError(GL_INVALID_OPERATION); - *latch_id = 0xffffffffu; + *latch_id = gpu::kInvalidLatchId; } } @@ -356,7 +357,7 @@ void WebGraphicsContext3DCommandBufferImpl::getChildToParentLatchCHROMIUM( if (!context_->GetChildToParentLatch(latch_id)) { LOG(ERROR) << "getLatch must only be called on child context"; synthesizeGLError(GL_INVALID_OPERATION); - *latch_id = 0xffffffffu; + *latch_id = gpu::kInvalidLatchId; } } |