[Webkit-unassigned] [Bug 156098] Replace all RenderTheme::popupInternalPadding methods with a single one returning a LengthBox
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Apr 3 03:15:27 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=156098
--- Comment #6 from Carlos Garcia Campos <cgarcia at igalia.com> ---
It seems brace initializer list requires explicit casts everywhere:
/Volumes/Data/EWS/WebKit/Source/WebCore/rendering/RenderThemeMac.mm:1371:18: error: type 'float' cannot be narrowed to 'int' in initializer list [-Wc++11-narrowing]
return { popupButtonPadding(controlSizeForFont(style))[topPadding] * style.effectiveZoom(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Data/EWS/WebKit/Source/WebCore/rendering/RenderThemeMac.mm:1371:18: note: insert an explicit cast to silence this issue
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160403/0f7a4a0f/attachment.html>
More information about the webkit-unassigned
mailing list