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

Issue 367113007: Refactor CanvasRenderingContext2D::scrollPathIntoViewInternal(). (Closed)

Created:
6 years, 5 months ago by zino
Modified:
6 years, 5 months ago
CC:
blink-reviews, aandrey+blink_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, Rik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Refactor CanvasRenderingContext2D::scrollPathIntoViewInternal(). This fixes a crash when a RenderBoxModelObject is null. Also, we can simplify the logic to take border and padding into account by using absoluteContextBox(). BUG=391185 TEST=https://cluster-fuzz.appspot.com/testcase?key=6636208132194304 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177625

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -13 lines) Patch
M Source/core/html/canvas/CanvasRenderingContext2D.cpp View 2 chunks +10 lines, -13 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
zino
Please take a look. Thank you.
6 years, 5 months ago (2014-07-04 04:26:41 UTC) #1
yosin_UTC9
rsLGTM I'm not familiar with Canvas 2D code, but the changes seems to be OK.
6 years, 5 months ago (2014-07-04 05:45:02 UTC) #2
Justin Novosad
Could you add a layout test that triggers the crash that you are fixing?
6 years, 5 months ago (2014-07-04 14:46:04 UTC) #3
zino
On 2014/07/04 14:46:04, junov wrote: > Could you add a layout test that triggers the ...
6 years, 5 months ago (2014-07-05 05:08:49 UTC) #4
Justin Novosad
On 2014/07/05 05:08:49, zino wrote: > On 2014/07/04 14:46:04, junov wrote: > > Could you ...
6 years, 5 months ago (2014-07-07 13:42:14 UTC) #5
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 5 months ago (2014-07-08 00:21:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/367113007/1
6 years, 5 months ago (2014-07-08 00:22:14 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 5 months ago (2014-07-08 01:24:49 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-08 01:54:21 UTC) #9
Message was sent while issue was closed.
Change committed as 177625

Powered by Google App Engine
This is Rietveld 408576698