Use OptionSet<TextDecoration> instead of bitmask.
Created attachment 320643 [details] Patch
Created attachment 320644 [details] Patch
Created attachment 320648 [details] Patch
Comment on attachment 320648 [details] Patch Attachment 320648 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/4535312 Number of test failures exceeded the failure limit.
Created attachment 320659 [details] Archive of layout-test-results from ews115 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Comment on attachment 320648 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=320648&action=review > Source/WebCore/css/CSSComputedStyleDeclaration.cpp:1764 > +static Ref<CSSValue> renderTextDecorationFlagsToCSSValue(const OptionSet<TextDecoration>& textDecorations) We went from passing by value to passing by reference. Does this mean that this patch migrates from a lightweight type to a heavyweight type? If so, that's a little troubling.
Comment on attachment 320648 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=320648&action=review >> Source/WebCore/css/CSSComputedStyleDeclaration.cpp:1764 >> +static Ref<CSSValue> renderTextDecorationFlagsToCSSValue(const OptionSet<TextDecoration>& textDecorations) > > We went from passing by value to passing by reference. Does this mean that this patch migrates from a lightweight type to a heavyweight type? If so, that's a little troubling. No, should go back to passing by value, here, and in many other places. > Source/WebCore/rendering/svg/SVGInlineTextBox.cpp:295 > + OptionSet<TextDecoration> decorations = style.textDecorationsInEffect(); auto? > Source/WebCore/style/InlineTextBoxStyle.cpp:109 > + OptionSet<TextDecoration> decorations = lineStyle.textDecorationsInEffect(); auto?
This was fixed in the patch for bug #186015.