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

Unified Diff: ios/chrome/browser/experimental_flags.mm

Issue 2394253002: Fix the snapshot_cache unittests. (Closed)
Patch Set: 2 Created 4 years, 2 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: ios/chrome/browser/experimental_flags.mm
diff --git a/ios/chrome/browser/experimental_flags.mm b/ios/chrome/browser/experimental_flags.mm
index 32975b428b551f88c4fe9d568ea67d18d89c5f43..42c937deaf119004e56b140dff23ef27183f9894 100644
--- a/ios/chrome/browser/experimental_flags.mm
+++ b/ios/chrome/browser/experimental_flags.mm
@@ -95,10 +95,10 @@ bool IsTabSwitcherEnabled() {
return false;
}
- // Check if the finch experiment is turned on.
+ // Check if the finch experiment is turned off.
std::string group_name = base::FieldTrialList::FindFullName("IOSTabSwitcher");
- return base::StartsWith(group_name, "Enabled",
- base::CompareCase::INSENSITIVE_ASCII);
+ return !base::StartsWith(group_name, "Disabled",
+ base::CompareCase::INSENSITIVE_ASCII);
}
bool IsReadingListEnabled() {

Powered by Google App Engine
This is Rietveld 408576698