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

Unified Diff: remoting/client/chromoting_client.cc

Issue 14522010: remoting: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index 7f643dcda7af156567055fc9b7547131a89f0090..059baaeca6d32258f37be132e9d69acf1fe4f869 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -36,7 +36,7 @@ ChromotingClient::ChromotingClient(
connection_(connection),
user_interface_(user_interface),
host_capabilities_received_(false),
- weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
+ weak_factory_(this) {
rectangle_decoder_ =
new RectangleUpdateDecoder(client_context->main_task_runner(),
client_context->decode_task_runner(),

Powered by Google App Engine
This is Rietveld 408576698