RESOLVED FIXED 180603
Implement transferToImageBitmap for WebGL offscreen canvas objects
https://bugs.webkit.org/show_bug.cgi?id=180603
Summary Implement transferToImageBitmap for WebGL offscreen canvas objects
Dean Jackson
Reported 2017-12-08 13:50:07 PST
Implement transferToImageBitmap for WebGL offscreen canvas objects
Attachments
Patch (11.12 KB, patch)
2017-12-08 13:57 PST, Dean Jackson
sam: review+
Dean Jackson
Comment 1 2017-12-08 13:53:31 PST
Dean Jackson
Comment 2 2017-12-08 13:57:16 PST
Sam Weinig
Comment 3 2017-12-08 14:00:21 PST
Comment on attachment 328866 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=328866&action=review > Source/WebCore/html/ImageBitmap.cpp:57 > +RefPtr<ImageBitmap> ImageBitmap::create(IntSize size) Any reason not to return a Ref<ImageBitmap> here? > Source/WebCore/html/ImageBitmap.cpp:59 > + RefPtr<ImageBitmap> imageBitmap = adoptRef(new ImageBitmap); You can use auto here.
Dean Jackson
Comment 4 2017-12-08 14:48:26 PST
Ryan Haddad
Comment 5 2017-12-08 15:09:39 PST
This change broke the El Capitan and Sierra build: /Volumes/Data/slave/sierra-32bit-release/build/Source/WebCore/html/OffscreenCanvas.cpp:130:12: error: no viable conversion from returned value of type 'WTF::Ref<WebCore::ImageBitmap>' to function return type 'RefPtr<WebCore::ImageBitmap>' https://build.webkit.org/builders/Apple%20Sierra%20Release%20%2832-bit%20Build%29/builds/7348 https://build.webkit.org/builders/Apple%20El%20Capitan%20Release%20%28Build%29/builds/7210
Fujii Hironori
Comment 6 2017-12-08 15:51:13 PST
Note You need to log in before you can comment on or make changes to this bug.