Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Issue 1643053002: cc :: Fix sublayer scale bug when we have scroll parents (Closed)

Created:
4 years, 10 months ago by jaydasika
Modified:
4 years, 10 months ago
Reviewers:
ajuma, weiliangc, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc :: Fix sublayer scale bug when we have scroll parents The current visible rect computation logic with property trees assumes that whenever a layer's target is different from its clip node's target, it is because the layer has a clip parent. But, this case is possible even when the layer has a scroll parent. When we have scroll parent, we need to apply scales differently because clip parent is an ancestor but scroll parent is not. BUG=576959 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/2489a446981f61142c2e2679b4b39435d8b8958b Cr-Commit-Position: refs/heads/master@{#372257}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -16 lines) Patch
M cc/trees/draw_property_utils.cc View 1 2 2 chunks +36 lines, -13 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 1 chunk +16 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
jaydasika
PTAL!
4 years, 10 months ago (2016-01-29 00:23:57 UTC) #3
ajuma
lgtm with a question: https://codereview.chromium.org/1643053002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1643053002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc#newcode6577 cc/trees/layer_tree_host_common_unittest.cc:6577: inputs.property_trees->needs_rebuild = true; Is this ...
4 years, 10 months ago (2016-01-29 00:40:30 UTC) #4
jaydasika
https://codereview.chromium.org/1643053002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1643053002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc#newcode6577 cc/trees/layer_tree_host_common_unittest.cc:6577: inputs.property_trees->needs_rebuild = true; On 2016/01/29 00:40:29, ajuma wrote: > ...
4 years, 10 months ago (2016-01-29 00:58:25 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643053002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643053002/60001
4 years, 10 months ago (2016-01-29 00:59:33 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-29 02:18:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643053002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643053002/60001
4 years, 10 months ago (2016-01-29 02:20:03 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-01-29 02:26:09 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 02:27:05 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2489a446981f61142c2e2679b4b39435d8b8958b
Cr-Commit-Position: refs/heads/master@{#372257}

Powered by Google App Engine
This is Rietveld 408576698