Index: content/common/gpu/media/rendering_helper.cc |
diff --git a/content/common/gpu/media/rendering_helper.cc b/content/common/gpu/media/rendering_helper.cc |
index 00e85f9f0ecd0c44b1961175d1fc5ce248670712..1a6b85ffd638279db2c38dc49b7c58ca3f77fd42 100644 |
--- a/content/common/gpu/media/rendering_helper.cc |
+++ b/content/common/gpu/media/rendering_helper.cc |
@@ -430,7 +430,11 @@ void RenderingHelper::DeleteTexture(uint32 texture_id) { |
CHECK_EQ(static_cast<int>(glGetError()), GL_NO_ERROR); |
} |
-void* RenderingHelper::GetGLContext() { |
+gfx::GLContext* RenderingHelper::GetGLContext() { |
+ return gl_context_.get(); |
+} |
+ |
+void* RenderingHelper::GetGLContextHandle() { |
return gl_context_->GetHandle(); |
} |