Index: ios/chrome/browser/about_flags.mm |
diff --git a/ios/chrome/browser/about_flags.mm b/ios/chrome/browser/about_flags.mm |
index bba53c6b5a3d562ebdfbb7f4c3116d13ed08b281..a681f344ee0adb8c3a9eba782d285989ca2a0cf3 100644 |
--- a/ios/chrome/browser/about_flags.mm |
+++ b/ios/chrome/browser/about_flags.mm |
@@ -98,6 +98,11 @@ void AppendSwitchesFromExperimentalSettings(base::CommandLine* command_line) { |
BUILDFLAG(GOOGLE_TEST_OAUTH_CLIENT_SECRET)); |
} |
+ // Populate command line flag for the tab strip auto scroll new tabs |
+ // experiment from the configuration plist. |
+ if ([defaults boolForKey:@"TabStripAutoScrollNewTabsDisabled"]) |
+ command_line->AppendSwitch(switches::kDisableTabStripAutoScrollNewTabs); |
+ |
// Populate command line flag for the Tab Switcher experiment from the |
// configuration plist. |
NSString* enableTabSwitcher = [defaults stringForKey:@"EnableTabSwitcher"]; |