Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1107)

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1385883002: Leave CreateStreamTexture route id out of the GL interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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";

Powered by Google App Engine
This is Rietveld 408576698