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

Unified Diff: remoting/host/url_request_context.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/host/url_request_context.cc
diff --git a/remoting/host/url_request_context.cc b/remoting/host/url_request_context.cc
index cf124b40340a54c23370da7d1984cd64233f9e0c..4c75c0233a1e57e6e31806a925004368c8af9e88 100644
--- a/remoting/host/url_request_context.cc
+++ b/remoting/host/url_request_context.cc
@@ -80,7 +80,7 @@ net::ProxyConfigService* CreateSystemProxyConfigService(
// which is in turn copied from some test code. Move it somewhere reusable.
URLRequestContext::URLRequestContext(
scoped_ptr<net::ProxyConfigService> proxy_config_service)
- : ALLOW_THIS_IN_INITIALIZER_LIST(storage_(this)) {
+ : storage_(this) {
scoped_ptr<VlogNetLog> net_log(new VlogNetLog());
storage_.set_host_resolver(
net::HostResolver::CreateDefaultResolver(net_log.get()));

Powered by Google App Engine
This is Rietveld 408576698