Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
index 31a5c81ffcb8409aff3777df119e129fde743276..7b0755bc1c44a7514a15033b2440c82054c8e102 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
@@ -24,6 +24,7 @@ |
#endif |
class GpuChannelHost; |
+class GpuChannelHostFactory; |
namespace gpu { |
namespace gles2 { |
@@ -61,6 +62,7 @@ class WebGraphicsContext3DCommandBufferImpl |
WebGraphicsContext3DCommandBufferImpl( |
int surface_id, |
const GURL& active_url, |
+ GpuChannelHostFactory* factory, |
const base::WeakPtr<WebGraphicsContext3DSwapBuffersClient>& swap_client); |
virtual ~WebGraphicsContext3DCommandBufferImpl(); |
@@ -509,6 +511,9 @@ class WebGraphicsContext3DCommandBufferImpl |
bool initialize_failed_; |
+ // The channel factory to talk to the GPU process |
+ GpuChannelHostFactory* factory_; |
+ |
// The context we use for OpenGL rendering. |
ContentGLContext* context_; |
// The GLES2Implementation we use for OpenGL rendering. |