Index: remoting/host/setup/win/start_host_window.cc |
diff --git a/remoting/host/setup/win/start_host_window.cc b/remoting/host/setup/win/start_host_window.cc |
index 2ae6a2fcf6945e23107d341adf28f282a5fb3cc1..428e049131c7b8933f4509b48313c432edb40c2a 100644 |
--- a/remoting/host/setup/win/start_host_window.cc |
+++ b/remoting/host/setup/win/start_host_window.cc |
@@ -28,7 +28,7 @@ StartHostWindow::StartHostWindow( |
consent_to_collect_data_(true), |
mem_mgr_(GetProcessHeap()), |
string_mgr_(&mem_mgr_), |
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)), |
+ weak_ptr_factory_(this), |
weak_ptr_(weak_ptr_factory_.GetWeakPtr()) { |
} |