Index: content/shell/renderer/test_runner/test_plugin.h |
diff --git a/content/shell/renderer/test_runner/test_plugin.h b/content/shell/renderer/test_runner/test_plugin.h |
index 34029b9370c1de1c3df5bfc32e8099743dab03b3..50425a706d850c0a921f76e0ace68b892b4e3e9b 100644 |
--- a/content/shell/renderer/test_runner/test_plugin.h |
+++ b/content/shell/renderer/test_runner/test_plugin.h |
@@ -24,6 +24,10 @@ class WebFrame; |
class WebLayer; |
} |
+namespace cc { |
+class SharedBitmap; |
+} |
+ |
namespace content { |
class WebTestDelegate; |
@@ -139,7 +143,7 @@ class TestPlugin : public blink::WebPlugin, public cc::TextureLayerClient { |
const std::string& fragment_source); |
// Functions for drawing scene in Software. |
- void DrawSceneSoftware(void* memory, size_t bytes); |
+ void DrawSceneSoftware(void* memory); |
blink::WebFrame* frame_; |
WebTestDelegate* delegate_; |
@@ -149,7 +153,7 @@ class TestPlugin : public blink::WebPlugin, public cc::TextureLayerClient { |
blink::WebGraphicsContext3D* context_; |
unsigned color_texture_; |
cc::TextureMailbox texture_mailbox_; |
- scoped_ptr<base::SharedMemory> shared_bitmap_; |
+ scoped_ptr<cc::SharedBitmap> shared_bitmap_; |
bool mailbox_changed_; |
unsigned framebuffer_; |
Scene scene_; |