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

Issue 2849463005: Refactor ImageBuffer to make OffscreenCanvas match HTMLCanvasElement (Closed)

Created:
3 years, 7 months ago by fserb
Modified:
3 years, 7 months ago
CC:
ajuma+watch-canvas_chromium.org, blink-reviews, blink-reviews-html_chromium.org, Rik, chromium-reviews, dglazkov+blink, dshwang, haraken
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor ImageBuffer to make OffscreenCanvas match HTMLCanvasElement BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2849463005 Cr-Commit-Position: refs/heads/master@{#468787} Committed: https://chromium.googlesource.com/chromium/src/+/5db093f59a68e29ed89a115da7e0c86b897a67b1

Patch Set 1 #

Patch Set 2 : x #

Patch Set 3 : x #

Total comments: 8

Patch Set 4 : Big const apocalypse #

Patch Set 5 : x #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -144 lines) Patch
M third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmap.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.h View 1 2 3 3 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 2 3 4 25 chunks +46 lines, -42 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasRenderingContextHost.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/canvas/ImageElementBase.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/canvas/ImageElementBase.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h View 1 2 3 4 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp View 1 2 3 3 chunks +35 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp View 1 2 3 9 chunks +18 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp View 1 2 3 11 chunks +16 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DUsageTrackingTest.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp View 1 2 3 9 chunks +16 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 29 (22 generated)
fserb
kbr: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp junov: everything else.
3 years, 7 months ago (2017-04-27 21:07:46 UTC) #3
Ken Russell (switch to Gerrit)
WebGLRenderingContextBase.cpp lgtm, but please refer to some bug ID. Thanks.
3 years, 7 months ago (2017-04-29 00:21:17 UTC) #20
Justin Novosad
lgtm with suggestions. https://codereview.chromium.org/2849463005/diff/40001/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp File third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp (right): https://codereview.chromium.org/2849463005/diff/40001/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp#newcode1115 third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp:1115: ImageBuffer* HTMLCanvasElement::GetImageBuffer() const { Nit (existed ...
3 years, 7 months ago (2017-05-01 15:18:57 UTC) #21
fserb
un-consted it. PTAL https://codereview.chromium.org/2849463005/diff/40001/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp File third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp (right): https://codereview.chromium.org/2849463005/diff/40001/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp#newcode1115 third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp:1115: ImageBuffer* HTMLCanvasElement::GetImageBuffer() const { On 2017/05/01 ...
3 years, 7 months ago (2017-05-02 18:49:30 UTC) #22
Justin Novosad
lgtm
3 years, 7 months ago (2017-05-02 19:23:04 UTC) #23
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/2849463005/80001
3 years, 7 months ago (2017-05-02 19:45:14 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 22:04:22 UTC) #29
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/5db093f59a68e29ed89a115da7e0...

Powered by Google App Engine
This is Rietveld 408576698