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

Unified Diff: chrome/browser/android/chrome_startup_flags.cc

Issue 203473003: [FastTextAutosizer] Enable FastTextAutosizer on tot/dev by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moon lander Created 6 years, 9 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/android/chrome_startup_flags.cc
diff --git a/chrome/browser/android/chrome_startup_flags.cc b/chrome/browser/android/chrome_startup_flags.cc
index 4d295f79d56cc4337cfd6962f1ddf7090bb9862e..8d1c18e2a91ac1c14c09b055d19b256ba7808b6f 100644
--- a/chrome/browser/android/chrome_startup_flags.cc
+++ b/chrome/browser/android/chrome_startup_flags.cc
@@ -55,4 +55,11 @@ void SetChromeSpecificCommandLineFlags() {
channel == chrome::VersionInfo::CHANNEL_DEV) {
SetCommandLineSwitch(switches::kEnableDomDistiller);
}
+
+ // Enable the Fast Text Autosizer on local builds, canary and dev-channel.
+ if (channel == chrome::VersionInfo::CHANNEL_UNKNOWN ||
+ channel == chrome::VersionInfo::CHANNEL_CANARY ||
+ channel == chrome::VersionInfo::CHANNEL_DEV) {
+ SetCommandLineSwitch(switches::kEnableFastTextAutosizing);
+ }
}

Powered by Google App Engine
This is Rietveld 408576698