Index: net/url_request/url_request_throttler_manager.cc |
diff --git a/net/url_request/url_request_throttler_manager.cc b/net/url_request/url_request_throttler_manager.cc |
index 88a9d2c6a06c18a08cd06cd3bfcacfe6564c4057..3f08e9e1ac817da746345c7e1429123f8c0a1e19 100644 |
--- a/net/url_request/url_request_throttler_manager.cc |
+++ b/net/url_request/url_request_throttler_manager.cc |
@@ -142,7 +142,7 @@ std::string URLRequestThrottlerManager::GetIdFromUrl(const GURL& url) const { |
return url.possibly_invalid_spec(); |
GURL id = url.ReplaceComponents(url_id_replacements_); |
- return base::StringToLowerASCII(id.spec()).c_str(); |
+ return base::ToLowerASCII(id.spec()); |
} |
void URLRequestThrottlerManager::GarbageCollectEntriesIfNecessary() { |