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

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

Issue 2297473002: Use unique ptr for PerCompositorData (Closed)
Patch Set: Created 4 years, 4 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 0de8aede6bdb98bc922a0c21c7da10d64ec84f87..8f4ae049fa399996cd7b8c5d03606854fe347d2d 100644
--- a/content/browser/compositor/gpu_process_transport_factory.h
+++ b/content/browser/compositor/gpu_process_transport_factory.h
@@ -105,7 +105,8 @@ class GpuProcessTransportFactory
scoped_refptr<cc::VulkanInProcessContextProvider>
SharedVulkanContextProvider();
- typedef std::map<ui::Compositor*, PerCompositorData*> PerCompositorDataMap;
+ 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_;
« 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