summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-09 01:30:16 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-09 01:30:16 +0000
commit43cee51d23a058dfe56785e837779924f9d92138 (patch)
tree2e125f8bc9c21960f1a2e6a2fb11b5566df1f05d /chrome
parent6123803835f00b70936a457e2fc96b4655feb42d (diff)
downloadchromium_src-43cee51d23a058dfe56785e837779924f9d92138.zip
chromium_src-43cee51d23a058dfe56785e837779924f9d92138.tar.gz
chromium_src-43cee51d23a058dfe56785e837779924f9d92138.tar.bz2
Removing the dependency of command-buffer client on base/task.h. This file includes base/logging.h which is difficult to compile under nacl. base-logging is stubbed in gpu by gpu/common/logging.h.
BUG=26104 Review URL: http://codereview.chromium.org/527009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35860 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/renderer/command_buffer_proxy.cc5
-rw-r--r--chrome/renderer/command_buffer_proxy.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/chrome/renderer/command_buffer_proxy.cc b/chrome/renderer/command_buffer_proxy.cc
index 3b68cc2..5b97e3c 100644
--- a/chrome/renderer/command_buffer_proxy.cc
+++ b/chrome/renderer/command_buffer_proxy.cc
@@ -107,11 +107,6 @@ int32 CommandBufferProxy::GetPutOffset() {
return -1;
}
-void CommandBufferProxy::SetPutOffsetChangeCallback(Callback0::Type* callback) {
- // Not implemented in proxy.
- NOTREACHED();
-}
-
int32 CommandBufferProxy::CreateTransferBuffer(size_t size) {
int32 id;
if (Send(new CommandBufferMsg_CreateTransferBuffer(route_id_, size, &id)))
diff --git a/chrome/renderer/command_buffer_proxy.h b/chrome/renderer/command_buffer_proxy.h
index 7453988..0be704a 100644
--- a/chrome/renderer/command_buffer_proxy.h
+++ b/chrome/renderer/command_buffer_proxy.h
@@ -40,7 +40,6 @@ class CommandBufferProxy : public gpu::CommandBuffer,
virtual int32 GetGetOffset();
virtual void SetGetOffset(int32 get_offset);
virtual int32 GetPutOffset();
- virtual void SetPutOffsetChangeCallback(Callback0::Type* callback);
virtual int32 CreateTransferBuffer(size_t size);
virtual void DestroyTransferBuffer(int32 id);
virtual gpu::Buffer GetTransferBuffer(int32 handle);