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

Unified Diff: chrome/browser/media/webrtc_browsertest_common.cc

Issue 1214183008: Update StartsWith calls to use new versions in chrome and content (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/media/webrtc_browsertest_common.cc
diff --git a/chrome/browser/media/webrtc_browsertest_common.cc b/chrome/browser/media/webrtc_browsertest_common.cc
index 61f967e29b08804ddae1a01dc877776a47c251cf..d67a6996b40fb067270edac1e541f12d6b7a79cf 100644
--- a/chrome/browser/media/webrtc_browsertest_common.cc
+++ b/chrome/browser/media/webrtc_browsertest_common.cc
@@ -40,7 +40,8 @@ static const char kAdviseOnGclientSolution[] =
const int kDefaultPollIntervalMsec = 250;
bool IsErrorResult(const std::string& result) {
- return base::StartsWithASCII(result, "failed-", false);
+ return base::StartsWith(result, "failed-",
+ base::CompareCase::INSENSITIVE_ASCII);
}
base::FilePath GetReferenceFilesDir() {
« no previous file with comments | « chrome/browser/media/webrtc_browsertest_base.cc ('k') | chrome/browser/media_galleries/fileapi/media_file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698