[Webkit-unassigned] [Bug 282038] New: Compilation error due to ambiguous serializationForCSS() in ColorSerialization.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 24 03:40:41 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=282038
Bug ID: 282038
Summary: Compilation error due to ambiguous
serializationForCSS() in ColorSerialization.cpp
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bartosz.moczulski at youview.com
Created attachment 473031
--> https://bugs.webkit.org/attachment.cgi?id=473031&action=review
Fix proposal
With UnifiedSources `--max-bundle-size` set to 16 it is possible that BifurcatedGraphicsContext.cpp is bundled in a single compilation unit with ColorSerialization.cpp, in which case StyleColor.h will become unintentionally included in the latter file.
StyleColor.h contains additional overload of `serializationForCSS()` function which may be ambiguous with the static one defined locally in ColorSerialization.cpp. In one place in ColorSerialization.cpp implicit conversion was used so far to call the static version of this function.
Fix proposal (attached): add explicit conversion to disambiguate the two overloads.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241024/7a1a7840/attachment-0001.htm>
More information about the webkit-unassigned
mailing list