Index: remoting/host/host_window_proxy.cc |
diff --git a/remoting/host/host_window_proxy.cc b/remoting/host/host_window_proxy.cc |
index 6519f98ca8d3a2a6bdc5915848694521a1c6012e..19c34793359a596a9a83f80f60d0d0943af632bd 100644 |
--- a/remoting/host/host_window_proxy.cc |
+++ b/remoting/host/host_window_proxy.cc |
@@ -95,7 +95,7 @@ HostWindowProxy::Core::Core( |
: caller_task_runner_(caller_task_runner), |
ui_task_runner_(ui_task_runner), |
host_window_(host_window.Pass()), |
- weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { |
+ weak_factory_(this) { |
DCHECK(caller_task_runner->BelongsToCurrentThread()); |
} |