Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 1d6dc40a7b3005cd03d76ad16e69988270989716..ada1d279e8d29fc7f697f258da047dd078e79622 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -157,7 +157,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
if (ui::IsOverlayScrollbarEnabled()) |
WebRuntimeFeatures::enableOverlayScrollbars(true); |
- if (command_line.HasSwitch(switches::kEnableFastTextAutosizing)) |
+ if (command_line.HasSwitch(switches::kDisableFastTextAutosizing)) |
+ WebRuntimeFeatures::enableFastTextAutosizing(false); |
skobes
2014/03/20 20:48:18
The default is false in RuntimeEnabledFeatures, ri
|
+ else if (command_line.HasSwitch(switches::kEnableFastTextAutosizing)) |
WebRuntimeFeatures::enableFastTextAutosizing(true); |
if (command_line.HasSwitch(switches::kDisableRepaintAfterLayout)) |