Chromium Code Reviews| Index: android_webview/browser/net/aw_url_request_context_getter.cc |
| diff --git a/android_webview/browser/net/aw_url_request_context_getter.cc b/android_webview/browser/net/aw_url_request_context_getter.cc |
| index e37f59ec7e5ed4b0ed43e351b48dfbebae1a9fe3..93fece8218fc9b4792bc22518182cbc70b78204b 100644 |
| --- a/android_webview/browser/net/aw_url_request_context_getter.cc |
| +++ b/android_webview/browser/net/aw_url_request_context_getter.cc |
| @@ -52,7 +52,8 @@ namespace { |
| void ApplyCmdlineOverridesToURLRequestContextBuilder( |
| net::URLRequestContextBuilder* builder) { |
| - const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
| + const base:CommandLine& command_line = |
| + *base::CommandLine::ForCurrentProcess(); |
| if (command_line.HasSwitch(switches::kHostResolverRules)) { |
| // If hostname remappings were specified on the command-line, layer these |
| // rules on top of the real host resolver. This allows forwarding all |
| @@ -69,7 +70,8 @@ void ApplyCmdlineOverridesToURLRequestContextBuilder( |
| void ApplyCmdlineOverridesToNetworkSessionParams( |
| net::HttpNetworkSession::Params* params) { |
| int value; |
| - const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
| + const base::CommandLine& command_line = |
| + *CommandLine::ForCurrentProcess(); |
|
brettw
2014/10/15 17:55:16
This second one needs a "base::" too (like you did
|
| if (command_line.HasSwitch(switches::kTestingFixedHttpPort)) { |
| base::StringToInt(command_line.GetSwitchValueASCII( |
| switches::kTestingFixedHttpPort), &value); |