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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.h

Issue 2318753002: Fix GpuProcessTransportFactory destructor crash (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8f4ae049fa399996cd7b8c5d03606854fe347d2d..a20b1f668833764617ccca7340e60b27419d1739 100644
--- a/content/browser/compositor/gpu_process_transport_factory.h
+++ b/content/browser/compositor/gpu_process_transport_factory.h
@@ -105,14 +105,17 @@ class GpuProcessTransportFactory
scoped_refptr<cc::VulkanInProcessContextProvider>
SharedVulkanContextProvider();
+ std::unique_ptr<cc::SurfaceManager> surface_manager_;
+ uint32_t next_surface_client_id_ = 1u;
+
+ // Depends on SurfaceManager.
typedef std::map<ui::Compositor*, std::unique_ptr<PerCompositorData>>
PerCompositorDataMap;
PerCompositorDataMap per_compositor_data_;
+
scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_;
std::unique_ptr<display_compositor::GLHelper> gl_helper_;
base::ObserverList<ui::ContextFactoryObserver> observer_list_;
- std::unique_ptr<cc::SurfaceManager> surface_manager_;
- uint32_t next_surface_client_id_;
std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_;
scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_;
« no previous file with comments | « no previous file | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698