Index: webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
diff --git a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
index 88ace20a3e9d506ac3be4d8697443dd82a26cfb4..c095ee804868de6df92d1ac32d0dd5a3de146431 100644 |
--- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
+++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
@@ -53,14 +53,12 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl |
// instances are created. Default value is false. |
static void EnableVirtualizedContext(); |
- static WebGraphicsContext3DInProcessCommandBufferImpl* |
- CreateViewContext( |
- const WebKit::WebGraphicsContext3D::Attributes& attributes, |
- gfx::AcceleratedWidget window); |
- |
- static WebGraphicsContext3DInProcessCommandBufferImpl* |
- CreateOffscreenContext( |
- const WebKit::WebGraphicsContext3D::Attributes& attributes); |
+ static scoped_ptr<WebKit::WebGraphicsContext3D> CreateViewContext( |
+ const WebKit::WebGraphicsContext3D::Attributes& attributes, |
+ gfx::AcceleratedWidget window); |
+ |
+ static scoped_ptr<WebKit::WebGraphicsContext3D> CreateOffscreenContext( |
+ const WebKit::WebGraphicsContext3D::Attributes& attributes); |
static void SetGpuMemoryBufferCreator(GpuMemoryBufferCreator* creator); |