Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 255684a5683e0c29ca08255f2da079451abeecf2..9cde890f99172155973ca3183df122a3b64cc5d5 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -5174,8 +5174,10 @@ WebMediaPlayer* RenderFrameImpl::CreateAndroidWebMediaPlayer( |
return NULL; |
} |
- scoped_refptr<cc_blink::ContextProviderWebContext> context_provider = |
- RenderThreadImpl::current()->SharedMainThreadContextProvider(); |
+ ContextProviderCommandBuffer* ptr = reinterpret_cast< |
no sievers
2015/10/27 16:58:56
this cast we still want to avoid
sivag
2015/11/05 09:42:50
Done.
|
+ ContextProviderCommandBuffer*>( |
+ RenderThreadImpl::current()->SharedMainThreadContextProvider().get()); |
+ scoped_refptr<ContextProviderCommandBuffer> context_provider(ptr); |
if (!context_provider.get()) { |
LOG(ERROR) << "Failed to get context3d for media player"; |