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 9ef3698fe096a60be01ca32bc708970855bd5523..37106991020f5af6eed0ae772be54833b93c776d 100644 |
--- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
+++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
@@ -54,6 +54,10 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl |
static scoped_ptr<WebKit::WebGraphicsContext3D> CreateOffscreenContext( |
const WebKit::WebGraphicsContext3D::Attributes& attributes); |
+ static scoped_ptr<WebKit::WebGraphicsContext3D> WrapContext( |
+ scoped_ptr< ::gpu::GLInProcessContext> context, |
+ const WebKit::WebGraphicsContext3D::Attributes& attributes); |
+ |
virtual ~WebGraphicsContext3DInProcessCommandBufferImpl(); |
//---------------------------------------------------------------------- |
@@ -536,6 +540,7 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl |
private: |
WebGraphicsContext3DInProcessCommandBufferImpl( |
+ scoped_ptr< ::gpu::GLInProcessContext> context, |
const WebKit::WebGraphicsContext3D::Attributes& attributes, |
bool is_offscreen, |
gfx::AcceleratedWidget window); |