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

Unified Diff: ash/wm/lock_state_controller.cc

Issue 1242023005: Remove legacy StartsWithASCII function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: y 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
« no previous file with comments | « android_webview/native/aw_media_url_interceptor.cc ('k') | base/files/file_path.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_state_controller.cc
diff --git a/ash/wm/lock_state_controller.cc b/ash/wm/lock_state_controller.cc
index 9a9d52030a9b6adb2c5f4d48bab5367f7dd0cd60..f87498fde8191820130d474d2ebe49141cb109f8 100644
--- a/ash/wm/lock_state_controller.cc
+++ b/ash/wm/lock_state_controller.cc
@@ -493,9 +493,9 @@ void LockStateController::PreLockAnimationFinished(bool request_lock) {
// Increase lock timeout for slower hardware, see http://crbug.com/350628
const std::string board = base::SysInfo::GetLsbReleaseBoard();
if (board == "x86-mario" ||
- base::StartsWithASCII(board, "x86-alex", true /* case_sensitive */) ||
- base::StartsWithASCII(board, "x86-zgb", true /* case_sensitive */) ||
- base::StartsWithASCII(board, "daisy", true /* case_sensitive */)) {
+ base::StartsWith(board, "x86-alex", base::CompareCase::SENSITIVE) ||
+ base::StartsWith(board, "x86-zgb", base::CompareCase::SENSITIVE) ||
+ base::StartsWith(board, "daisy", base::CompareCase::SENSITIVE)) {
timeout *= 2;
}
// Times out on ASAN bots.
« no previous file with comments | « android_webview/native/aw_media_url_interceptor.cc ('k') | base/files/file_path.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698