commit | 47c85b3fde87d028a70885628d654ad396cbde1c | [log] [tgz] |
---|---|---|
author | Dave Tapuska <[email protected]> | Thu Aug 27 20:47:56 2020 |
committer | Commit Bot <[email protected]> | Thu Aug 27 20:47:56 2020 |
tree | 0a2f3886cd6a04cd1f85a40749e64ae749627837 | |
parent | 778c610cbc514adb5daf9928b4039d9a8e38b4a2 [diff] [blame] |
Move computation of "prefer compositing to LCD text" into WidgetBase. The "prefer compositing to LCD text" moves into the callback notification where other screen properties adjust the settings. This is ok because after the screen bounds are updating a Resize of the Widget will occur. BUG=1097816 Change-Id: I9b27af51386cb85ab8f0ecc87f60cf5ad5dd7226 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366669 Commit-Queue: Dave Tapuska <[email protected]> Reviewed-by: Avi Drissman <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Cr-Commit-Position: refs/heads/master@{#802346}
diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc index 63a16660..0382c76 100644 --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc
@@ -754,5 +754,10 @@ const char kBackForwardCacheABExperimentGroup[] = "experiment_group_for_http_header"; +// Whether we should composite a PLSA (paint layer scrollable area) even if it +// means losing lcd text. +const base::Feature kPreferCompositingToLCDText = { + "PreferCompositingToLCDText", base::FEATURE_DISABLED_BY_DEFAULT}; + } // namespace features } // namespace blink