[clang 11] fix build errors due to -WWc++11-narrowing
Created attachment 397978 [details] Patch
Committed r260951: <https://trac.webkit.org/changeset/260951> All reviewed patches have been landed. Closing bug and clearing flags on attachment 397978 [details].
Comment on attachment 397978 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397978&action=review > Source/WebCore/style/StyleResolver.cpp:106 > - m_mediaQueryEvaluator = MediaQueryEvaluator { "all" }; > + m_mediaQueryEvaluator = MediaQueryEvaluator { }; This is a great change. But note that it changes behavior in a big way. The old code was passing true for mediaFeatureResult, by accident. The new code correctly passes false. We need to find a way to get this code path tested.