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

Issue 2251493003: Adding nullability support to ImageBitmapRenderingContext.transferImageBitmap (Closed)

Created:
4 years, 4 months ago by zakerinasab
Modified:
4 years, 4 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, blink-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding nullability support for the ImageBitmap parameter passed to ImageBitmapRenderingContext.transferImageBitmap BUG=588243 Committed: https://crrev.com/0da9df35d5d1873066f7908110a3c44e8f0cf244 Cr-Commit-Position: refs/heads/master@{#414173}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressing comments from patch set 1. #

Total comments: 7

Patch Set 3 : Layout tests and code update for resetting the canvas #

Total comments: 9

Patch Set 4 : Addressing comments from patch set 3. #

Total comments: 2

Patch Set 5 : Addressing final comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -3 lines) Patch
A third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html View 1 2 3 1 chunk +65 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.idl View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (9 generated)
zakerinasab
4 years, 4 months ago (2016-08-16 18:24:21 UTC) #2
Justin Novosad
https://codereview.chromium.org/2251493003/diff/1/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html File third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html (right): https://codereview.chromium.org/2251493003/diff/1/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html#newcode15 third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html:15: testRunner.notifyDone(); This will cause the test to end before ...
4 years, 4 months ago (2016-08-16 19:38:56 UTC) #3
zakerinasab
Comments are addressed. https://codereview.chromium.org/2251493003/diff/1/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html File third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html (right): https://codereview.chromium.org/2251493003/diff/1/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html#newcode15 third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap.html:15: testRunner.notifyDone(); On 2016/08/16 19:38:55, Justin Novosad ...
4 years, 4 months ago (2016-08-16 20:34:49 UTC) #4
Justin Novosad
https://codereview.chromium.org/2251493003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html File third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html (right): https://codereview.chromium.org/2251493003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html#newcode8 third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html:8: var colorData = ctx.getImageData(50, 50, 1, 1).data; This test ...
4 years, 4 months ago (2016-08-16 20:52:07 UTC) #5
zakerinasab
https://codereview.chromium.org/2251493003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html File third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html (right): https://codereview.chromium.org/2251493003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html#newcode8 third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability.html:8: var colorData = ctx.getImageData(50, 50, 1, 1).data; On 2016/08/16 ...
4 years, 4 months ago (2016-08-17 20:39:28 UTC) #6
zakerinasab
4 years, 4 months ago (2016-08-18 13:31:28 UTC) #10
Justin Novosad
https://codereview.chromium.org/2251493003/diff/100001/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability-harness.html File third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability-harness.html (right): https://codereview.chromium.org/2251493003/diff/100001/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability-harness.html#newcode1 third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability-harness.html:1: <!DOCTYPE html> the "-harness" in the filename is not ...
4 years, 4 months ago (2016-08-18 15:27:27 UTC) #11
zakerinasab
New patch submitted. https://codereview.chromium.org/2251493003/diff/100001/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability-harness.html File third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability-harness.html (right): https://codereview.chromium.org/2251493003/diff/100001/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability-harness.html#newcode1 third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferFromImageBitmap-nullability-harness.html:1: <!DOCTYPE html> On 2016/08/18 15:27:27, Justin ...
4 years, 4 months ago (2016-08-24 15:31:11 UTC) #12
Justin Novosad
lgtm with nit https://codereview.chromium.org/2251493003/diff/120001/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp File third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp (right): https://codereview.chromium.org/2251493003/diff/120001/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp#newcode261 third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp:261: if (renderingContext()->getImage()) Just "return m_context->getImage();" will ...
4 years, 4 months ago (2016-08-24 15:39:17 UTC) #13
zakerinasab
https://codereview.chromium.org/2251493003/diff/120001/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp File third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp (right): https://codereview.chromium.org/2251493003/diff/120001/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp#newcode261 third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp:261: if (renderingContext()->getImage()) On 2016/08/24 15:39:16, Justin Novosad wrote: > ...
4 years, 4 months ago (2016-08-24 15:57:13 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2251493003/140001
4 years, 4 months ago (2016-08-24 15:57:59 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/128943)
4 years, 4 months ago (2016-08-24 17:57:41 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2251493003/140001
4 years, 4 months ago (2016-08-24 19:26:17 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 4 months ago (2016-08-24 22:35:25 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 22:37:32 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0da9df35d5d1873066f7908110a3c44e8f0cf244
Cr-Commit-Position: refs/heads/master@{#414173}

Powered by Google App Engine
This is Rietveld 408576698