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

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

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/media/android/stream_texture_factory_impl.h
diff --git a/content/renderer/media/android/stream_texture_factory_impl.h b/content/renderer/media/android/stream_texture_factory_impl.h
index 0374879a39aa0404f2f92fc57ab938112365094d..c03371e81872515c6aec7415a07161f39e85b971 100644
--- a/content/renderer/media/android/stream_texture_factory_impl.h
+++ b/content/renderer/media/android/stream_texture_factory_impl.h
@@ -19,12 +19,13 @@ class GLES2Interface;
namespace content {
+class ContextProviderCommandBuffer;
class GpuChannelHost;
class StreamTextureFactoryImpl : public StreamTextureFactory {
public:
static scoped_refptr<StreamTextureFactoryImpl> Create(
- const scoped_refptr<cc::ContextProvider>& context_provider,
+ const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
GpuChannelHost* channel,
int frame_id);
@@ -42,12 +43,12 @@ class StreamTextureFactoryImpl : public StreamTextureFactory {
private:
friend class base::RefCounted<StreamTextureFactoryImpl>;
StreamTextureFactoryImpl(
- const scoped_refptr<cc::ContextProvider>& context_provider,
+ const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
GpuChannelHost* channel,
int frame_id);
~StreamTextureFactoryImpl() override;
- scoped_refptr<cc::ContextProvider> context_provider_;
+ scoped_refptr<content::ContextProviderCommandBuffer> context_provider_;
scoped_refptr<GpuChannelHost> channel_;
int frame_id_;

Powered by Google App Engine
This is Rietveld 408576698