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

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

Issue 1233043003: 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 ebae3b2538825590dfdcb4397c554e1d9e5b92f2..08a863e0a5673c148fb2a276d357624c6380e161 100644
--- a/chrome/browser/sync/test/integration/bookmarks_helper.cc
+++ b/chrome/browser/sync/test/integration/bookmarks_helper.cc
@@ -964,7 +964,8 @@ gfx::Image CreateFavicon(SkColor color) {
gfx::Image Create1xFaviconFromPNGFile(const std::string& path) {
const char* kPNGExtension = ".png";
- if (!base::EndsWith(path, kPNGExtension, false))
+ if (!base::EndsWith(path, kPNGExtension,
+ base::CompareCase::INSENSITIVE_ASCII))
return gfx::Image();
base::FilePath full_path;

Powered by Google App Engine
This is Rietveld 408576698