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

Unified Diff: remoting/host/host_window_proxy.cc

Issue 14522010: remoting: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years, 8 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 | « remoting/host/host_change_notification_listener.cc ('k') | remoting/host/ipc_audio_capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « remoting/host/host_change_notification_listener.cc ('k') | remoting/host/ipc_audio_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698