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