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

Unified Diff: services/ui/gpu/gpu_service.h

Issue 2779903005: gpu: Destroy the BindingSet on the thread it's bound on. (Closed)
Patch Set: . Created 3 years, 9 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 | services/ui/gpu/gpu_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_service.h
diff --git a/services/ui/gpu/gpu_service.h b/services/ui/gpu/gpu_service.h
index 78f7369aec6ec016ee1926ee4cbfa9faaa302ab7..7219ac38c8cfc65eca6178a8c68ba3c6439dedce 100644
--- a/services/ui/gpu/gpu_service.h
+++ b/services/ui/gpu/gpu_service.h
@@ -184,7 +184,7 @@ class GpuService : public gpu::GpuChannelManagerDelegate,
bool in_host_process_ = false;
base::Time start_time_;
- mojo::BindingSet<mojom::GpuService> bindings_;
+ std::unique_ptr<mojo::BindingSet<mojom::GpuService>> bindings_;
base::WeakPtr<GpuService> weak_ptr_;
base::WeakPtrFactory<GpuService> weak_ptr_factory_;
« no previous file with comments | « no previous file | services/ui/gpu/gpu_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698