Index: content/browser/compositor/gpu_process_transport_factory.h |
diff --git a/content/browser/compositor/gpu_process_transport_factory.h b/content/browser/compositor/gpu_process_transport_factory.h |
index bc8ce95d33a329a7dddc70d4cfe6f5ba9a3a1ee0..24e1a0f9cbe9ac0b568681b62cc210f4b0d4abda 100644 |
--- a/content/browser/compositor/gpu_process_transport_factory.h |
+++ b/content/browser/compositor/gpu_process_transport_factory.h |
@@ -80,6 +80,7 @@ class GpuProcessTransportFactory |
private: |
struct PerCompositorData; |
+ scoped_refptr<ContextProviderCommandBuffer> SharedWorkerContextProvider(); |
PerCompositorData* CreatePerCompositorData(ui::Compositor* compositor); |
scoped_ptr<cc::SoftwareOutputDevice> CreateSoftwareOutputDevice( |
ui::Compositor* compositor); |
@@ -92,6 +93,7 @@ class GpuProcessTransportFactory |
void OnLostMainThreadSharedContextInsideCallback(); |
void OnLostMainThreadSharedContext(); |
+ void OnLostWorkerSharedContext(); |
typedef std::map<ui::Compositor*, PerCompositorData*> PerCompositorDataMap; |
PerCompositorDataMap per_compositor_data_; |
@@ -102,6 +104,7 @@ class GpuProcessTransportFactory |
uint32_t next_surface_id_namespace_; |
scoped_ptr<cc::TaskGraphRunner> task_graph_runner_; |
scoped_ptr<base::SimpleThread> raster_thread_; |
+ scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; |
#if defined(OS_WIN) |
scoped_ptr<OutputDeviceBacking> software_backing_; |