[BGPT] Ensure cc::TransformNode::in_subtree_of_page_scale_layer is set
cc::TransformNode::in_subtree_of_page_scale_layer is important for avoiding raster during pinch-zoom (see ideal_page_scale calculation in PictureLayerImpl::UpdateIdealScales) and was not being set at the blink->cc boundary when BlinkGenPropertyTrees was enabled. This patch adds in_subtree_of_page_scale to TransformPaintPropertyNode and sets it when building the VisualViewport property nodes. This is then used to update cc::TransformNode::in_subtree_of_page_scale_layer in PaintPropertyTreeManager. Bug: 951861 Change-Id: Ic3bd0f48fb3a383825503b04b4f42d7db51bd651 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1586996Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Auto-Submit: Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#654866}
Showing
Please register or sign in to comment