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

Unified Diff: chrome/browser/ui/webui/media_router/media_router_ui.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger Created 5 years, 6 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: chrome/browser/ui/webui/media_router/media_router_ui.cc
diff --git a/chrome/browser/ui/webui/media_router/media_router_ui.cc b/chrome/browser/ui/webui/media_router/media_router_ui.cc
index d7b2b2a8703782158774c09624409c53e7caaffa..9e6d529de8c5b50026b3a7ac3c90a1a9e15eddfb 100644
--- a/chrome/browser/ui/webui/media_router/media_router_ui.cc
+++ b/chrome/browser/ui/webui/media_router/media_router_ui.cc
@@ -37,7 +37,7 @@ namespace {
std::string GetHostFromURL(const GURL& gurl) {
std::string host = gurl.host();
- if (StartsWithASCII(host, "www.", false))
+ if (base::StartsWithASCII(host, "www.", false))
host = host.substr(4);
return host;
}
« no previous file with comments | « chrome/browser/ui/webui/interstitials/interstitial_ui.cc ('k') | chrome/browser/ui/webui/ntp/favicon_webui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698