RESOLVED FIXED 172580
Use a typedef for SVG resource mode flags union
https://bugs.webkit.org/show_bug.cgi?id=172580
Summary Use a typedef for SVG resource mode flags union
Simon Fraser (smfr)
Reported 2017-05-24 22:07:39 PDT
Use a typedef for SVG resource mode flags union
Attachments
Patch (22.20 KB, patch)
2017-05-24 22:09 PDT, Simon Fraser (smfr)
no flags
Archive of layout-test-results from ews124 for ios-simulator-wk2 (11.05 MB, application/zip)
2017-05-25 00:42 PDT, Build Bot
no flags
Patch (46.21 KB, patch)
2017-05-25 17:59 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2017-05-24 22:09:45 PDT
Build Bot
Comment 2 2017-05-25 00:42:22 PDT
Comment on attachment 311196 [details] Patch Attachment 311196 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/3811353 New failing tests: http/tests/cache/cancel-during-revalidation-succeeded.html
Build Bot
Comment 3 2017-05-25 00:42:24 PDT
Created attachment 311209 [details] Archive of layout-test-results from ews124 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
Sam Weinig
Comment 4 2017-05-25 08:38:54 PDT
Comment on attachment 311196 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=311196&action=review > Source/WebCore/rendering/svg/RenderSVGResource.h:48 > +typedef unsigned RenderSVGResourceMode; Maybe use OptionSet<RenderSVGResourceModes> instead. If you want to keep it an unsigned, I would recommend using a type alias instead: using RenderSVGResourceMode = unsigned; It's not substantially different, just the syntax we have been moving toward, since it supports things like templated type aliases.
Simon Fraser (smfr)
Comment 5 2017-05-25 17:59:27 PDT
Sam Weinig
Comment 6 2017-05-25 18:01:01 PDT
Comment on attachment 311322 [details] Patch Nice.
WebKit Commit Bot
Comment 7 2017-05-25 18:31:09 PDT
Comment on attachment 311322 [details] Patch Clearing flags on attachment: 311322 Committed r217463: <http://trac.webkit.org/changeset/217463>
WebKit Commit Bot
Comment 8 2017-05-25 18:31:10 PDT
All reviewed patches have been landed. Closing bug.
Yusuke Suzuki
Comment 9 2017-05-25 19:41:03 PDT
Simon Fraser (smfr)
Comment 10 2017-05-25 21:00:34 PDT
Thanks for the fix. No idea why GTK/WPE would need different includes.
Radar WebKit Bug Importer
Comment 11 2017-05-30 20:23:54 PDT
Note You need to log in before you can comment on or make changes to this bug.