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

Issue 232913004: Use StrictTypeChecking for methods on CRC2D that accepts Path2D (Closed)

Created:
6 years, 8 months ago by fs
Modified:
6 years, 8 months ago
CC:
blink-reviews, arv+blink, dglazkov+blink, Rik, adamk+blink_chromium.org, aandrey+blink_chromium.org, watchdog-blink-watchlist_google.com, Inactive, haraken
Visibility:
Public.

Description

Use StrictTypeChecking for methods on CRC2D that accepts Path2D This moves the null-check out into generated bindings code. Since there's no longer a need to throw (explicitly) the ExceptionState argument can be dropped from the signatures. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171471

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update some more expectations. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -102 lines) Patch
M LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt View 1 chunk +6 lines, -6 lines 0 comments Download
M LayoutTests/fast/canvas/canvas-isPointInStroke-with-path-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/canvas/canvas-path-addpath-expected.txt View 2 chunks +5 lines, -3 lines 0 comments Download
M LayoutTests/fast/canvas/canvas-path-context-clip-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/canvas/canvas-path-context-fill-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/canvas/canvas-path-context-stroke-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/canvas/script-tests/canvas-path-addpath.js View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/virtual/gpu/fast/canvas/canvas-path-context-clip-expected.txt View 1 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/virtual/gpu/fast/canvas/canvas-path-context-fill-expected.txt View 1 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/virtual/gpu/fast/canvas/canvas-path-context-stroke-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.h View 1 chunk +9 lines, -9 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.cpp View 6 chunks +12 lines, -42 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.idl View 1 chunk +12 lines, -12 lines 0 comments Download
M Source/core/html/canvas/Path2D.h View 1 chunk +3 lines, -7 lines 0 comments Download
M Source/core/html/canvas/Path2D.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
fs
This is the first in a series CLs that will attempt to transition CanvasRenderingContext2D (and ...
6 years, 8 months ago (2014-04-11 17:40:23 UTC) #1
Justin Novosad
Thanks for taking this on, but there are problems with the new error messages. https://codereview.chromium.org/232913004/diff/1/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt ...
6 years, 8 months ago (2014-04-11 17:52:35 UTC) #2
fs
+nbarth +haraken For additional WebIDL/overload resolution know-how. Please check my ramblings below. https://codereview.chromium.org/232913004/diff/1/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt File LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt ...
6 years, 8 months ago (2014-04-11 18:31:19 UTC) #3
Nils Barth (inactive)
Replies regarding overload resolution and errors: the new errors are actually correct, due to overload ...
6 years, 8 months ago (2014-04-14 02:32:18 UTC) #4
fs
On 2014/04/14 02:32:18, Nils Barth wrote: > Replies regarding overload resolution and errors: > the ...
6 years, 8 months ago (2014-04-14 07:36:53 UTC) #5
Nils Barth (inactive)
On 2014/04/14 07:36:53, fs wrote: > Thanks for having a look Nils - much appreciated ...
6 years, 8 months ago (2014-04-14 07:40:11 UTC) #6
Justin Novosad
lgtm
6 years, 8 months ago (2014-04-14 14:11:40 UTC) #7
fs
The CQ bit was checked by fs@opera.com
6 years, 8 months ago (2014-04-14 15:01:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/232913004/20001
6 years, 8 months ago (2014-04-14 15:01:22 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-14 15:11:14 UTC) #10
Message was sent while issue was closed.
Change committed as 171471

Powered by Google App Engine
This is Rietveld 408576698