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 b3bde44919047c42233976d7c63820a753885612..85bfe0a840d651e9101cde47bbba1fc4eabd8783 100644 |
--- a/content/common/gpu/media/rendering_helper.cc |
+++ b/content/common/gpu/media/rendering_helper.cc |
@@ -665,8 +665,12 @@ |
CHECK_EQ(static_cast<int>(glGetError()), GL_NO_ERROR); |
} |
-gfx::GLContext* RenderingHelper::GetGLContext() { |
- return gl_context_.get(); |
+scoped_refptr<gfx::GLContext> RenderingHelper::GetGLContext() { |
+ return gl_context_; |
+} |
+ |
+void* RenderingHelper::GetGLContextHandle() { |
+ return gl_context_->GetHandle(); |
} |
void* RenderingHelper::GetGLDisplay() { |