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

Issue 1917043002: cc: Fix sublayer scale bug in hit testing (Closed)

Created:
4 years, 8 months ago by jaydasika
Modified:
4 years, 8 months ago
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 in hit testing In hit testing, we should use the render surface screen space transform (which doesn't have sublayer scale) instead of the screen_space_transform stored on the transform node (which has the sublayer scale baked in) as the clips stored in clip tree already account for the scale. BUG=604731 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/0da498c027ed0b0d1c4596892c7666afaa5a98af Cr-Commit-Position: refs/heads/master@{#389873}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -3 lines) Patch
M cc/trees/layer_tree_impl.cc View 1 2 chunks +12 lines, -3 lines 1 comment Download
M cc/trees/layer_tree_impl_unittest.cc View 1 1 chunk +88 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
jaydasika
PTAL
4 years, 8 months ago (2016-04-25 23:45:40 UTC) #4
ajuma
https://codereview.chromium.org/1917043002/diff/1/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/1917043002/diff/1/cc/trees/layer_tree_impl.cc#newcode1644 cc/trees/layer_tree_impl.cc:1644: DCHECK(!target_layer || target_layer->render_surface()); When is target_layer null here? (That ...
4 years, 8 months ago (2016-04-25 23:58:18 UTC) #5
jaydasika
https://codereview.chromium.org/1917043002/diff/1/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/1917043002/diff/1/cc/trees/layer_tree_impl.cc#newcode1644 cc/trees/layer_tree_impl.cc:1644: DCHECK(!target_layer || target_layer->render_surface()); On 2016/04/25 23:58:17, ajuma wrote: > ...
4 years, 8 months ago (2016-04-26 00:49:32 UTC) #6
jaydasika
On 2016/04/26 00:49:32, jaydasika wrote: > https://codereview.chromium.org/1917043002/diff/1/cc/trees/layer_tree_impl.cc > File cc/trees/layer_tree_impl.cc (right): > > https://codereview.chromium.org/1917043002/diff/1/cc/trees/layer_tree_impl.cc#newcode1644 > ...
4 years, 8 months ago (2016-04-26 00:56:36 UTC) #7
jaydasika
https://codereview.chromium.org/1917043002/diff/1/cc/trees/layer_tree_impl_unittest.cc File cc/trees/layer_tree_impl_unittest.cc (right): https://codereview.chromium.org/1917043002/diff/1/cc/trees/layer_tree_impl_unittest.cc#newcode1920 cc/trees/layer_tree_impl_unittest.cc:1920: // this layer is positioned, and hit testing should ...
4 years, 8 months ago (2016-04-26 18:12:22 UTC) #8
ajuma
Thanks, lgtm. On 2016/04/26 00:56:36, jaydasika wrote: > Did a little more investigation on why ...
4 years, 8 months ago (2016-04-26 18:36:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917043002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917043002/20001
4 years, 8 months ago (2016-04-26 19:30:20 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-26 20:26:56 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 20:28:17 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0da498c027ed0b0d1c4596892c7666afaa5a98af
Cr-Commit-Position: refs/heads/master@{#389873}

Powered by Google App Engine
This is Rietveld 408576698