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

Unified Diff: chrome/browser/search/iframe_source.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/search/iframe_source.cc
diff --git a/chrome/browser/search/iframe_source.cc b/chrome/browser/search/iframe_source.cc
index 58a5c06dfc3f2d84ea147c09d6d0ff6a7ac23e03..b44ed3046c88b9fdd8e88bca658548cb0b84201f 100644
--- a/chrome/browser/search/iframe_source.cc
+++ b/chrome/browser/search/iframe_source.cc
@@ -64,7 +64,7 @@ bool IframeSource::GetOrigin(
return false;
*origin = contents->GetURL().GetOrigin().spec();
// Origin should not include a trailing slash. That is part of the path.
- TrimString(*origin, "/", origin);
+ base::TrimString(*origin, "/", origin);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698