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

Issue 232313004: Add StrictTypeChecking to CRC2D.{drawImage,createPattern} (Closed)

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

Description

Add StrictTypeChecking to CRC2D.{drawImage,createPattern} This moves the null-check out into generated bindings code. The non-standard method drawImageFromRect(...) keeps the null-check, and has its first argument marked nullable because of that. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171477

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -42 lines) Patch
M LayoutTests/fast/canvas/drawImage-with-broken-image-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.cpp View 5 chunks +2 lines, -19 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.idl View 2 chunks +20 lines, -20 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
fs
6 years, 8 months ago (2014-04-14 14:20:28 UTC) #1
Justin Novosad
https://codereview.chromium.org/232313004/diff/1/Source/core/html/canvas/CanvasRenderingContext2D.idl File Source/core/html/canvas/CanvasRenderingContext2D.idl (right): https://codereview.chromium.org/232313004/diff/1/Source/core/html/canvas/CanvasRenderingContext2D.idl#newcode145 Source/core/html/canvas/CanvasRenderingContext2D.idl:145: [StrictTypeChecking] void drawImageFromRect(HTMLImageElement? image, This is API is not ...
6 years, 8 months ago (2014-04-14 14:29:42 UTC) #2
fs
https://codereview.chromium.org/232313004/diff/1/Source/core/html/canvas/CanvasRenderingContext2D.idl File Source/core/html/canvas/CanvasRenderingContext2D.idl (right): https://codereview.chromium.org/232313004/diff/1/Source/core/html/canvas/CanvasRenderingContext2D.idl#newcode145 Source/core/html/canvas/CanvasRenderingContext2D.idl:145: [StrictTypeChecking] void drawImageFromRect(HTMLImageElement? image, On 2014/04/14 14:29:42, junov wrote: ...
6 years, 8 months ago (2014-04-14 15:00:47 UTC) #3
Justin Novosad
On 2014/04/14 15:00:47, fs wrote: > https://codereview.chromium.org/232313004/diff/1/Source/core/html/canvas/CanvasRenderingContext2D.idl > File Source/core/html/canvas/CanvasRenderingContext2D.idl (right): > > https://codereview.chromium.org/232313004/diff/1/Source/core/html/canvas/CanvasRenderingContext2D.idl#newcode145 > ...
6 years, 8 months ago (2014-04-14 15:31:41 UTC) #4
fs
The CQ bit was checked by fs@opera.com
6 years, 8 months ago (2014-04-14 15:35:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/232313004/1
6 years, 8 months ago (2014-04-14 15:35:35 UTC) #6
commit-bot: I haz the power
6 years, 8 months ago (2014-04-14 15:46:14 UTC) #7
Message was sent while issue was closed.
Change committed as 171477

Powered by Google App Engine
This is Rietveld 408576698