Index: content/common/gpu/client/gpu_channel_host.h |
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h |
index 4f5b74f010d3ad22d4ee963a1751d5cf4ace05b1..c2f7cdc0c5dcb34bda5226eb4c9b3f42a5a93a09 100644 |
--- a/content/common/gpu/client/gpu_channel_host.h |
+++ b/content/common/gpu/client/gpu_channel_host.h |
@@ -60,7 +60,7 @@ struct GpuListenerInfo { |
class CONTENT_EXPORT GpuChannelHostFactory { |
public: |
- typedef base::Callback<void(const gfx::Size)> CreateImageCallback; |
+ typedef base::Callback<void(bool)> CreateImageCallback; |
virtual ~GpuChannelHostFactory() {} |
@@ -73,7 +73,9 @@ class CONTENT_EXPORT GpuChannelHostFactory { |
const GPUCreateCommandBufferConfig& init_params, |
int32 route_id) = 0; |
virtual void CreateImage( |
- gfx::PluginWindowHandle window, |
+ const gfx::GpuMemoryBufferHandle& handle, |
+ const gfx::Size& size, |
+ unsigned internalformat, |
int32 image_id, |
const CreateImageCallback& callback) = 0; |
virtual void DeleteImage(int32 image_id, int32 sync_point) = 0; |