Commit 66116d4e authored by skobes@chromium.org's avatar skobes@chromium.org

Fix --disable-fast-text-autosizing.

This has been broken since https://src.chromium.org/viewvc/blink?revision=172846&view=revision landed.

Review URL: https://codereview.chromium.org/276983002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269623 0039d316-1c4b-4281-b951-d872f2087c98
parent 7de7880c
......@@ -135,10 +135,12 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (ui::IsOverlayScrollbarEnabled())
WebRuntimeFeatures::enableOverlayScrollbars(true);
if (command_line.HasSwitch(switches::kEnableFastTextAutosizing)
&& !command_line.HasSwitch(switches::kDisableFastTextAutosizing))
if (command_line.HasSwitch(switches::kEnableFastTextAutosizing))
WebRuntimeFeatures::enableFastTextAutosizing(true);
if (command_line.HasSwitch(switches::kDisableFastTextAutosizing))
WebRuntimeFeatures::enableFastTextAutosizing(false);
if (command_line.HasSwitch(switches::kDisableRepaintAfterLayout))
WebRuntimeFeatures::enableRepaintAfterLayout(false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment