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

Unified Diff: services/ui/gpu/gpu_service_internal.cc

Issue 2302523002: Changes GpuServiceInternal from StrongBinding to Binding (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
Index: services/ui/gpu/gpu_service_internal.cc
diff --git a/services/ui/gpu/gpu_service_internal.cc b/services/ui/gpu/gpu_service_internal.cc
index 4be564d8b9de589ccd76b34aa0249aff6fa1ee9e..56a418a61fd22256bbdb600115515cd878538b7a 100644
--- a/services/ui/gpu/gpu_service_internal.cc
+++ b/services/ui/gpu/gpu_service_internal.cc
@@ -50,8 +50,7 @@ GpuServiceInternal::GpuServiceInternal()
shutdown_event_(base::WaitableEvent::ResetPolicy::MANUAL,
base::WaitableEvent::InitialState::NOT_SIGNALED),
gpu_thread_("GpuThread"),
- io_thread_("GpuIOThread"),
- binding_(this) {}
+ io_thread_("GpuIOThread") {}
GpuServiceInternal::~GpuServiceInternal() {
// Signal this event before destroying the child process. That way all
@@ -63,7 +62,7 @@ GpuServiceInternal::~GpuServiceInternal() {
}
void GpuServiceInternal::Add(mojom::GpuServiceInternalRequest request) {
- binding_.Bind(std::move(request));
+ bindings_.AddBinding(this, std::move(request));
}
void GpuServiceInternal::EstablishGpuChannelInternal(
« services/ui/gpu/gpu_service_internal.h ('K') | « services/ui/gpu/gpu_service_internal.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698