RESOLVED FIXED Bug 202572
Implement OffscreenCanvas.transferToImageBitmap
https://bugs.webkit.org/show_bug.cgi?id=202572
Summary Implement OffscreenCanvas.transferToImageBitmap
Attachments
Patch (17.50 KB, patch)
2019-10-10 03:45 PDT, Chris Lord
no flags
Patch (17.11 KB, patch)
2019-12-03 03:51 PST, Chris Lord
no flags
Patch (17.41 KB, patch)
2019-12-04 03:08 PST, Chris Lord
no flags
Chris Lord
Comment 1 2019-10-10 03:45:34 PDT
Chris Lord
Comment 2 2019-12-03 03:51:41 PST
Antti Koivisto
Comment 3 2019-12-03 06:36:53 PST
Comment on attachment 384704 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=384704&action=review > Source/WebCore/html/OffscreenCanvas.cpp:195 > + m_hasCreatedImageBuffer = true; Shouldn't this be set only after the nullptr return path? > Source/WebCore/html/OffscreenCanvas.cpp:197 > + if (!width() || !height()) size().isEmpty()?
Chris Lord
Comment 4 2019-12-04 03:08:23 PST
WebKit Commit Bot
Comment 5 2019-12-04 03:54:06 PST
Comment on attachment 384801 [details] Patch Clearing flags on attachment: 384801 Committed r253099: <https://trac.webkit.org/changeset/253099>
WebKit Commit Bot
Comment 6 2019-12-04 03:54:08 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2019-12-04 03:55:24 PST
Darin Adler
Comment 8 2019-12-04 09:17:59 PST
Comment on attachment 384801 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=384801&action=review > Source/WebCore/html/CanvasBase.h:113 > + std::unique_ptr<ImageBuffer> setImageBuffer(std::unique_ptr<ImageBuffer>&&) const; C++ calls this operation "exchange" as in "std::exchange", rather than "set". I think we might want to name this function accordingly.
Note You need to log in before you can comment on or make changes to this bug.