Index: remoting/host/setup/host_starter.cc |
diff --git a/remoting/host/setup/host_starter.cc b/remoting/host/setup/host_starter.cc |
index 90c492491bd372b9a68cbfacf777a8633d4d799a..d44059dcc1e077a79a70c7b5e153a4231019b5a7 100644 |
--- a/remoting/host/setup/host_starter.cc |
+++ b/remoting/host/setup/host_starter.cc |
@@ -25,7 +25,7 @@ HostStarter::HostStarter( |
service_client_(service_client.Pass()), |
daemon_controller_(daemon_controller.Pass()), |
consent_to_data_collection_(false), |
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)), |
+ weak_ptr_factory_(this), |
weak_ptr_(weak_ptr_factory_.GetWeakPtr()) { |
main_task_runner_ = base::ThreadTaskRunnerHandle::Get(); |
} |