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

Unified Diff: components/bookmarks/browser/bookmark_utils.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: components/bookmarks/browser/bookmark_utils.cc
diff --git a/components/bookmarks/browser/bookmark_utils.cc b/components/bookmarks/browser/bookmark_utils.cc
index 28690f273777331c92a28110030cc415c3c8deb9..e9f32d4b3ee86b05a24d13ac24d525bca352d1d6 100644
--- a/components/bookmarks/browser/bookmark_utils.cc
+++ b/components/bookmarks/browser/bookmark_utils.cc
@@ -262,7 +262,7 @@ void MakeTitleUnique(const BookmarkModel* model,
for (int i = 0; i < parent->child_count(); i++) {
const BookmarkNode* node = parent->GetChild(i);
if (node->is_url() && (url == node->url()) &&
- StartsWith(node->GetTitle(), *title, false)) {
+ base::StartsWith(node->GetTitle(), *title, false)) {
titles.insert(node->GetTitle());
}
}

Powered by Google App Engine
This is Rietveld 408576698