Commit c1e02b88 authored by Xida Chen's avatar Xida Chen Committed by Commit Bot

Bridge content and blink for an experiment

For the experiment TurnOff2DAndOpacityCompositorAnimations, we have the
experimental feature setup on the content and blink side, but we have
not yet bridge these two sides, which requires to add 2 lines of code
in content/child/runtime_features.cc. This CL does the bridging.

Bug: 754471
Change-Id: I84b85fadb68a2cebc0f642b3814fe9448bdfe3f3
Reviewed-on: https://chromium-review.googlesource.com/1002882Reviewed-by: default avatarStephen McGruer <smcgruer@chromium.org>
Reviewed-by: default avatarDmitry Gozman <dgozman@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549203}
parent 2fa2ada0
...@@ -330,6 +330,10 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( ...@@ -330,6 +330,10 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
false); false);
} }
if (base::FeatureList::IsEnabled(
features::kTurnOff2DAndOpacityCompositorAnimations))
WebRuntimeFeatures::EnableTurnOff2DAndOpacityCompositorAnimations(true);
if (base::FeatureList::IsEnabled(features::kRasterInducingScroll)) if (base::FeatureList::IsEnabled(features::kRasterInducingScroll))
WebRuntimeFeatures::EnableRasterInducingScroll(true); WebRuntimeFeatures::EnableRasterInducingScroll(true);
......
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