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

Unified Diff: chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc

Issue 1220963005: Update base::StartsWith calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@starts_with
Patch Set: 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: chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc
diff --git a/chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc b/chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc
index e25c471b3322f32d5f29cba2a0f4bfacbdda3534..761dd953c44592ff4d638a66655ba947beb287b6 100644
--- a/chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc
+++ b/chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc
@@ -58,8 +58,10 @@ class InstantExtendedManualTest : public InProcessBrowserTest,
void SetUpOnMainThread() override {
const testing::TestInfo* const test_info =
testing::UnitTest::GetInstance()->current_test_info();
- ASSERT_TRUE(base::StartsWithASCII(test_info->name(), "MANUAL_", true) ||
- base::StartsWithASCII(test_info->name(), "DISABLED_", true));
+ ASSERT_TRUE(base::StartsWith(test_info->name(), "MANUAL_",
+ base::CompareCase::SENSITIVE) ||
+ base::StartsWith(test_info->name(), "DISABLED_",
+ base::CompareCase::SENSITIVE));
// Make IsOffline() return false so we don't try to use the local NTP.
disable_network_change_notifier_.reset(
new net::NetworkChangeNotifier::DisableForTest());

Powered by Google App Engine
This is Rietveld 408576698