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

Unified Diff: content/browser/android/in_process/synchronous_compositor_factory_impl.cc

Issue 132163004: Remove WebGraphicsContext3D getter from cc::ContextProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/browser/android/in_process/synchronous_compositor_factory_impl.cc
diff --git a/content/browser/android/in_process/synchronous_compositor_factory_impl.cc b/content/browser/android/in_process/synchronous_compositor_factory_impl.cc
index 3c86bd5b17c35e02a2e6319c1fd0bfa125ab190c..fa06db39caf74525c72d5973f86d460c33a76e1d 100644
--- a/content/browser/android/in_process/synchronous_compositor_factory_impl.cc
+++ b/content/browser/android/in_process/synchronous_compositor_factory_impl.cc
@@ -32,8 +32,10 @@ class VideoContextProvider
return gl_in_process_context_->GetSurfaceTexture(stream_id);
}
- virtual blink::WebGraphicsContext3D* Context3d() OVERRIDE {
- return context_provider_->Context3d();
+ virtual gpu::gles2::GLES2Interface* ContextGL() OVERRIDE {
+ if (context_provider_->IsContextLost())
danakj 2014/01/09 21:23:34 It's kinda weird to have a NULL pointer due to con
jamesr 2014/01/10 00:12:34 sievers@ - do you know why StreamTextureFactory us
+ return NULL;
+ return context_provider_->ContextGL();
}
private:

Powered by Google App Engine
This is Rietveld 408576698