Index: net/proxy/proxy_config_service_android.cc |
diff --git a/net/proxy/proxy_config_service_android.cc b/net/proxy/proxy_config_service_android.cc |
index 25276e89973772f9a6767bd6a89dab2289b1fe6e..4129bf24c2f958d268cddc7282e049f3836ccb68 100644 |
--- a/net/proxy/proxy_config_service_android.cc |
+++ b/net/proxy/proxy_config_service_android.cc |
@@ -39,10 +39,9 @@ typedef ProxyConfigServiceAndroid::GetPropertyCallback GetPropertyCallback; |
// Returns whether the provided string was successfully converted to a port. |
bool ConvertStringToPort(const std::string& port, int* output) { |
- url_parse::Component component(0, port.size()); |
- int result = url_parse::ParsePort(port.c_str(), component); |
- if (result == url_parse::PORT_INVALID || |
- result == url_parse::PORT_UNSPECIFIED) |
+ url::Component component(0, port.size()); |
+ int result = url::ParsePort(port.c_str(), component); |
+ if (result == url::PORT_INVALID || result == url::PORT_UNSPECIFIED) |
return false; |
*output = result; |
return true; |