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

Unified Diff: content/renderer/media/renderer_gpu_video_accelerator_factories.h

Issue 171773014: Move ContextProvider binding to inside GpuVideoAcceleratorFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ceb954ec Initial. Created 6 years, 10 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/renderer_gpu_video_accelerator_factories.h
diff --git a/content/renderer/media/renderer_gpu_video_accelerator_factories.h b/content/renderer/media/renderer_gpu_video_accelerator_factories.h
index da6b09130620daf5ff9fb82e3f02b70b4ac0a60f..5834370a04d835dddaac2d5a79848806698bba15 100644
--- a/content/renderer/media/renderer_gpu_video_accelerator_factories.h
+++ b/content/renderer/media/renderer_gpu_video_accelerator_factories.h
@@ -71,6 +71,9 @@ class CONTENT_EXPORT RendererGpuVideoAcceleratorFactories
virtual ~RendererGpuVideoAcceleratorFactories();
private:
+ // Helper to bind |context_provider| to the |task_runner_| thread initially.
Ami GONE FROM CHROMIUM 2014/02/25 00:06:42 s/r|/r_|/ "initially" is vague.
sheu 2014/02/25 00:50:10 Done.
+ void BindContext();
+
// Helper to get a pointer to the WebGraphicsContext3DCommandBufferImpl,
// if it has not been lost yet.
WebGraphicsContext3DCommandBufferImpl* GetContext3d();

Powered by Google App Engine
This is Rietveld 408576698