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

Issue 310483002: Use localToContainerPoint when checking mapToContainer result (Closed)

Created:
6 years, 6 months ago by dsinclair
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

Use localToContainerPoint when checking mapToContainer result The mapToContainer method is calculating the value in relation to the container, but when we verify the result we calculate the localToAbsolute value. This doesn't take the container into account so we get the wrong values. BUG=371640 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175163

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/core/rendering/RenderGeometryMap.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
dsinclair
PTAL.
6 years, 6 months ago (2014-05-30 16:56:07 UTC) #1
hartmanng
non-OWNER lgtm
6 years, 6 months ago (2014-05-30 17:03:56 UTC) #2
leviw_travelin_and_unemployed
What differences are you seeing? https://codereview.chromium.org/310483002/diff/1/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/310483002/diff/1/Source/core/rendering/RenderObject.cpp#newcode2332 Source/core/rendering/RenderObject.cpp:2332: mapLocalToContainer(repaintContainer, transformState, mode | ...
6 years, 6 months ago (2014-05-30 17:17:50 UTC) #3
dsinclair
On 2014/05/30 17:17:50, leviw wrote: > What differences are you seeing? > > https://codereview.chromium.org/310483002/diff/1/Source/core/rendering/RenderObject.cpp > ...
6 years, 6 months ago (2014-05-30 17:30:06 UTC) #4
dsinclair
PTAL. Switched to localToContainerPoint.
6 years, 6 months ago (2014-05-30 18:19:40 UTC) #5
leviw_travelin_and_unemployed
This actually makes sense. LGTM.
6 years, 6 months ago (2014-05-30 18:21:42 UTC) #6
dsinclair
The CQ bit was checked by dsinclair@chromium.org
6 years, 6 months ago (2014-05-30 18:25:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dsinclair@chromium.org/310483002/20001
6 years, 6 months ago (2014-05-30 18:25:48 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-05-30 19:19:03 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-30 19:40:43 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/6556) linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/10173)
6 years, 6 months ago (2014-05-30 19:40:43 UTC) #11
dsinclair
The CQ bit was checked by dsinclair@chromium.org
6 years, 6 months ago (2014-05-30 19:54:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dsinclair@chromium.org/310483002/20001
6 years, 6 months ago (2014-05-30 19:55:51 UTC) #13
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 22:44:42 UTC) #14
Message was sent while issue was closed.
Change committed as 175163

Powered by Google App Engine
This is Rietveld 408576698