Split the media context from the compositor worker context.
Give the media system its own ContextProviderCommandBuffer, so that
we can move ownership of the compositor raster worker contex to the
compositor thread along with the output surface.
R=piman
BUG=608946
Review-Url: https://codereview.chromium.org/1960803002
Cr-Commit-Position: refs/heads/master@{#392750}
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 015cc7d..5cc1093 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -340,8 +340,10 @@
// A TaskRunner instance that runs tasks on the raster worker pool.
base::TaskRunner* GetWorkerTaskRunner();
- // Returns a shared worker context provider that can be used on any thread.
- scoped_refptr<ContextProviderCommandBuffer> SharedWorkerContextProvider();
+ // Returns a worker context provider that will be bound on the compositor
+ // thread.
+ scoped_refptr<ContextProviderCommandBuffer>
+ SharedCompositorWorkerContextProvider();
// Causes the idle handler to skip sending idle notifications
// on the two next scheduled calls, so idle notifications are