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

Unified Diff: chrome/browser/sync/test/integration/bookmarks_helper.cc

Issue 1233453011: Revert of Remove some legacy versions of StartsWith and EndsWith. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/sync/test/integration/bookmarks_helper.cc
diff --git a/chrome/browser/sync/test/integration/bookmarks_helper.cc b/chrome/browser/sync/test/integration/bookmarks_helper.cc
index 08a863e0a5673c148fb2a276d357624c6380e161..ebae3b2538825590dfdcb4397c554e1d9e5b92f2 100644
--- a/chrome/browser/sync/test/integration/bookmarks_helper.cc
+++ b/chrome/browser/sync/test/integration/bookmarks_helper.cc
@@ -964,8 +964,7 @@
gfx::Image Create1xFaviconFromPNGFile(const std::string& path) {
const char* kPNGExtension = ".png";
- if (!base::EndsWith(path, kPNGExtension,
- base::CompareCase::INSENSITIVE_ASCII))
+ if (!base::EndsWith(path, kPNGExtension, false))
return gfx::Image();
base::FilePath full_path;

Powered by Google App Engine
This is Rietveld 408576698