RESOLVED FIXED 177947
[Cairo] Create Cairo patterns from Gradient objects on-the-fly
https://bugs.webkit.org/show_bug.cgi?id=177947
Summary [Cairo] Create Cairo patterns from Gradient objects on-the-fly
Zan Dobersek
Reported 2017-10-05 09:02:16 PDT
[Cairo] Create Cairo patterns from Gradient objects on-the-fly
Attachments
Patch (9.04 KB, patch)
2017-10-05 09:10 PDT, Zan Dobersek
cgarcia: review+
Archive of layout-test-results from ews126 for ios-simulator-wk2 (1.07 MB, application/zip)
2017-10-05 11:13 PDT, Build Bot
no flags
Zan Dobersek
Comment 1 2017-10-05 09:10:16 PDT
Build Bot
Comment 2 2017-10-05 11:13:48 PDT
Comment on attachment 322843 [details] Patch Attachment 322843 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/4768940 New failing tests: accessibility/ios-simulator/video-elements-ios.html
Build Bot
Comment 3 2017-10-05 11:13:50 PDT
Created attachment 322864 [details] Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
Carlos Garcia Campos
Comment 4 2017-10-06 00:09:28 PDT
Comment on attachment 322843 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=322843&action=review > Source/WebCore/platform/graphics/cairo/GradientCairo.cpp:82 > - cairo_t* cr = context->platformContext()->cr(); > + RefPtr<cairo_pattern_t> gradient(adoptRef(createPlatformGradient(1.0))); We normally use = with adoptRef(). > Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp:276 > + RefPtr<cairo_pattern_t> cairoPattern(adoptRef(gradient->createPlatformGradient(globalAlpha))); Ditto.
Zan Dobersek
Comment 5 2017-10-06 03:44:57 PDT
Radar WebKit Bug Importer
Comment 6 2017-10-06 03:45:43 PDT
Note You need to log in before you can comment on or make changes to this bug.