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

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

Issue 532993002: work-in-progress patch to fix context lost black video (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: block on compositor Created 6 years, 3 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 7721c4812ee84c03f336286be459e5e0a898baa0..62586b0a0657f7ed7a0e8ac0c64b1e1e87f6ceb4 100644
--- a/content/renderer/media/android/stream_texture_factory_impl.h
+++ b/content/renderer/media/android/stream_texture_factory_impl.h
@@ -37,6 +37,9 @@ class StreamTextureFactoryImpl : public StreamTextureFactory {
virtual void SetStreamTextureSize(int32 texture_id,
const gfx::Size& size) OVERRIDE;
virtual gpu::gles2::GLES2Interface* ContextGL() OVERRIDE;
+ virtual void AddObserver(StreamTextureFactoryContextObserver* obs) OVERRIDE;
+ virtual void RemoveObserver(
+ StreamTextureFactoryContextObserver* obs) OVERRIDE;
private:
friend class base::RefCounted<StreamTextureFactoryImpl>;

Powered by Google App Engine
This is Rietveld 408576698