summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webgraphicscontext3d_command_buffer_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/webgraphicscontext3d_command_buffer_impl.h')
-rw-r--r--chrome/renderer/webgraphicscontext3d_command_buffer_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.h b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.h
index 116bced..11369d7 100644
--- a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.h
+++ b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.h
@@ -368,6 +368,8 @@ class WebGraphicsContext3DCommandBufferImpl
virtual void copyTextureToCompositor(unsigned texture,
unsigned parent_texture);
+ ggl::Context* context() { return context_; }
+
private:
// The GGL context we use for OpenGL rendering.
ggl::Context* context_;