Skip to content
Commit d2ee058d authored by Xianzhu Wang's avatar Xianzhu Wang Committed by Chromium LUCI CQ
Browse files

Ensure DescendantHasDirectOrScrollingCompositingReason

Previously when an element with strict containment was added a
compositing reason, DescendantHasDirectOrScrollingCompositingReason
was not set on ancestors because the wrong condition, causing
DCHECK failure and missing compositing assignment of the layer and
its ancestors.

Bug: 1181456
Change-Id: I9cbf786e7a93817f05a9871e523be831cf56f6e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2774268


Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: default avatarStefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#864961}
parent 83edeb45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment