Index: content/renderer/render_thread_impl.h |
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h |
index 3b99b4e2544ce64aa2051f89b5a97f4150237b40..c3f9ab655095c43df9d9e7c22d1078ca49d23cf0 100644 |
--- a/content/renderer/render_thread_impl.h |
+++ b/content/renderer/render_thread_impl.h |
@@ -325,6 +325,9 @@ class CONTENT_EXPORT RenderThreadImpl |
// 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(); |
+ |
// Causes the idle handler to skip sending idle notifications |
// on the two next scheduled calls, so idle notifications are |
// not sent for at least one notification delay. |
@@ -591,6 +594,7 @@ class CONTENT_EXPORT RenderThreadImpl |
base::ObserverList<RenderProcessObserver> observers_; |
+ scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; |
scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_; |
scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |