Index: remoting/protocol/negotiating_client_authenticator.cc |
diff --git a/remoting/protocol/negotiating_client_authenticator.cc b/remoting/protocol/negotiating_client_authenticator.cc |
index 6210cefed4e9e7a5ae5c9f71c104b460ecffa7b8..5ab0507ece3cb57de6fceb63f463ab2c6f0294fe 100644 |
--- a/remoting/protocol/negotiating_client_authenticator.cc |
+++ b/remoting/protocol/negotiating_client_authenticator.cc |
@@ -28,7 +28,7 @@ NegotiatingClientAuthenticator::NegotiatingClientAuthenticator( |
fetch_secret_callback_(fetch_secret_callback), |
token_fetcher_(token_fetcher.Pass()), |
method_set_by_host_(false), |
- weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { |
+ weak_factory_(this) { |
DCHECK(!methods.empty()); |
for (std::vector<AuthenticationMethod>::const_iterator it = methods.begin(); |
it != methods.end(); ++it) { |