Index: content/renderer/gpu/compositor_output_surface.cc |
diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc |
index bc8984834f6d8b46cf54fc6004611ab910f8d859..2f7cfc8c5ee9336f69d609c86fea03ecd9456f87 100644 |
--- a/content/renderer/gpu/compositor_output_surface.cc |
+++ b/content/renderer/gpu/compositor_output_surface.cc |
@@ -188,7 +188,7 @@ void CompositorOutputSurface::SwapBuffers(cc::CompositorFrame* frame) { |
if (frame->gl_frame_data) { |
context_provider()->ContextGL()->ShallowFlushCHROMIUM(); |
ContextProviderCommandBuffer* provider_command_buffer = |
- static_cast<ContextProviderCommandBuffer*>(context_provider().get()); |
+ static_cast<ContextProviderCommandBuffer*>(context_provider()); |
CommandBufferProxyImpl* command_buffer_proxy = |
provider_command_buffer->GetCommandBufferProxy(); |
DCHECK(command_buffer_proxy); |