summaryrefslogtreecommitdiffstats
path: root/webkit/tools/pepper_test_plugin
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 /webkit/tools/pepper_test_plugin
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 'webkit/tools/pepper_test_plugin')
-rw-r--r--webkit/tools/pepper_test_plugin/command_buffer_pepper.cc7
-rw-r--r--webkit/tools/pepper_test_plugin/command_buffer_pepper.h1
2 files changed, 1 insertions, 7 deletions
diff --git a/webkit/tools/pepper_test_plugin/command_buffer_pepper.cc b/webkit/tools/pepper_test_plugin/command_buffer_pepper.cc
index d7fbf7a..148d342 100644
--- a/webkit/tools/pepper_test_plugin/command_buffer_pepper.cc
+++ b/webkit/tools/pepper_test_plugin/command_buffer_pepper.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "webkit/tools/pepper_test_plugin/command_buffer_pepper.h"
+#include "base/logging.h"
using base::SharedMemory;
using gpu::Buffer;
@@ -96,12 +97,6 @@ int32 CommandBufferPepper::GetPutOffset() {
return value;
}
-void CommandBufferPepper::SetPutOffsetChangeCallback(
- Callback0::Type* callback) {
- // Not implemented by proxy.
- NOTREACHED();
-}
-
int32 CommandBufferPepper::CreateTransferBuffer(size_t size) {
int32 id;
if (NPERR_NO_ERROR != device_->createBuffer(npp_, &context_, size, &id))
diff --git a/webkit/tools/pepper_test_plugin/command_buffer_pepper.h b/webkit/tools/pepper_test_plugin/command_buffer_pepper.h
index 5fc2486..017e4bc 100644
--- a/webkit/tools/pepper_test_plugin/command_buffer_pepper.h
+++ b/webkit/tools/pepper_test_plugin/command_buffer_pepper.h
@@ -28,7 +28,6 @@ class CommandBufferPepper : 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);