UIColor and NSColor WebCore::Color factories should return invalid colors for nil input colors
Created attachment 400798 [details] Patch
<rdar://problem/63865676>
Comment on attachment 400798 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=400798&action=review > Source/WebCore/platform/graphics/mac/ColorMac.mm:98 > + return Color(); Can probably just return { } here. > Source/WebCore/platform/graphics/mac/ColorMac.mm:108 > + return Color(); Same. > Source/WebCore/platform/ios/ColorIOS.mm:38 > + return Color(); Same.
True!
https://trac.webkit.org/changeset/262428/webkit