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

Issue 129813009: Fix RenderGeometryMap ASSERT in touch hit rect computation (Closed)

Created:
6 years, 10 months ago by Rick Byers
Modified:
6 years, 10 months ago
CC:
blink-reviews, blink-layers+watch_chromium.org, kenneth.christiansen, trchen, Zeeshan Qureshi
Visibility:
Public.

Description

Fix RenderGeometryMap ASSERT in touch hit rect computation RenderGeometryMap requires that the RenderView be pushed as the first mapping. It helpfully does this for you when on the 'canMapBetweenRenderers' fast-path, but not in the slow path. Touch hit rect computation wasn't explicitly pushing the RenderView and so could trigger this ASSERT (and potentially other issues) if the first layer pushed doesn't satisfy the canMapBetweenRenderers requirement (almost never the case in practice since the first layer is the document element's layer). BUG=339141 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166094

Patch Set 1 #

Total comments: 2

Patch Set 2 : Tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -6 lines) Patch
A LayoutTests/fast/events/touch/touch-rect-assert-first-layer-special.html View 1 1 chunk +33 lines, -0 lines 0 comments Download
A + LayoutTests/fast/events/touch/touch-rect-assert-first-layer-special-expected.txt View 1 1 chunk +2 lines, -5 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Rick Byers
Levi, Please review this tiny hit-test computation tweak. Thanks, Rick
6 years, 10 months ago (2014-01-30 03:09:22 UTC) #1
leviw_travelin_and_unemployed
Makes sense! LGTM. https://codereview.chromium.org/129813009/diff/1/LayoutTests/fast/events/touch/touch-rect-assert-first-layer-special.html File LayoutTests/fast/events/touch/touch-rect-assert-first-layer-special.html (right): https://codereview.chromium.org/129813009/diff/1/LayoutTests/fast/events/touch/touch-rect-assert-first-layer-special.html#newcode17 LayoutTests/fast/events/touch/touch-rect-assert-first-layer-special.html:17: <div id="touchtarget" ontouchstart="alert()">Foo</div> Why the alert? ...
6 years, 10 months ago (2014-01-30 03:13:01 UTC) #2
Rick Byers
On 2014/01/30 03:13:01, Levi wrote: > Makes sense! LGTM. Thanks! > https://codereview.chromium.org/129813009/diff/1/LayoutTests/fast/events/touch/touch-rect-assert-first-layer-special.html > File LayoutTests/fast/events/touch/touch-rect-assert-first-layer-special.html ...
6 years, 10 months ago (2014-01-30 03:46:38 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rbyers@chromium.org/129813009/20001
6 years, 10 months ago (2014-01-30 03:49:11 UTC) #4
commit-bot: I haz the power
Change committed as 166094
6 years, 10 months ago (2014-01-30 06:31:04 UTC) #5
commit-bot: I haz the power
6 years, 10 months ago (2014-01-30 06:33:40 UTC) #6
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698