Index: content/renderer/render_thread_impl.h |
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h |
index b09df57f599261b7925350fbf68477383fafe09b..4ac40da397886d380f7409016b263cbb3aa5d15c 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. |
@@ -589,6 +592,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_; |