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

Unified Diff: content/renderer/media/android/stream_texture_factory_android.h

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/renderer/media/android/stream_texture_factory_android.h
diff --git a/content/renderer/media/android/stream_texture_factory_android.h b/content/renderer/media/android/stream_texture_factory_android.h
index 849cc06eefa75ccab0381d1206c4b81c5b41b8a9..f898d752d96425d5035a5815479955c1d4d7f989 100644
--- a/content/renderer/media/android/stream_texture_factory_android.h
+++ b/content/renderer/media/android/stream_texture_factory_android.h
@@ -10,9 +10,12 @@
#include "gpu/command_buffer/common/mailbox.h"
#include "ui/gfx/size.h"
-namespace blink {
-class WebGraphicsContext3D;
-}
+namespace gpu {
+namespace gles2 {
+class GLES2Interface;
+} // namespace gles2
+} // namespace gpu
+
namespace content {
@@ -75,7 +78,7 @@ class StreamTextureFactory {
virtual void SetStreamTextureSize(int32 texture_id,
const gfx::Size& size) = 0;
- virtual blink::WebGraphicsContext3D* Context3d() = 0;
+ virtual gpu::gles2::GLES2Interface* ContextGL() = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698