commit | d5197fdcb97a807b93dd44e3a69e16c119e338f3 | [log] [tgz] |
---|---|---|
author | Xiaocheng Hu <[email protected]> | Thu Feb 06 07:26:08 2020 |
committer | Commit Bot <[email protected]> | Thu Feb 06 07:26:08 2020 |
tree | 9c75e6c69f7927e2c601a482dabafcd4178231ae | |
parent | d9756248c27707e7d73d319f1c6eb9534b861a64 [diff] [blame] |
Add a new Chromium feature for partial style recalc after font loading This patch adds a new Chromium feature to control the Blink runtime enabled feature CSSReducedFontLoadingInvalidations. This allows us to study performance impacts of the feature via finch experiments. Bug: 441925 Change-Id: Icba6f1f1899af0bcecc12cf570786a07364f4fab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2040616 Reviewed-by: Kentaro Hara <[email protected]> Commit-Queue: Xiaocheng Hu <[email protected]> Cr-Commit-Position: refs/heads/master@{#738864}
diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc index 3929f2d..6a8c93c5 100644 --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc
@@ -453,5 +453,8 @@ const base::Feature kForceExtraRenderingToTrackStickyFrame{ "ForceExtraRenderingToTrackStickyFrame", base::FEATURE_DISABLED_BY_DEFAULT}; +const base::Feature kCSSReducedFontLoadingInvalidations{ + "CSSReducedFontLoadingInvalidations", base::FEATURE_DISABLED_BY_DEFAULT}; + } // namespace features } // namespace blink