Skip to content

Commit

Permalink
8252062: WebKit build fails with recent VS 2019 compiler
Browse files Browse the repository at this point in the history
Reviewed-by: kcr
  • Loading branch information
arun-joseph committed Sep 2, 2020
1 parent 87ad57f commit 8e3616c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Resolver::Resolver(Document& document)
if (view)
m_mediaQueryEvaluator = MediaQueryEvaluator { view->mediaType() };
else
m_mediaQueryEvaluator = MediaQueryEvaluator { "all" };
m_mediaQueryEvaluator = MediaQueryEvaluator { };

if (root) {
m_rootDefaultStyle = styleForElement(*root, m_document.renderStyle(), nullptr, RuleMatchingBehavior::MatchOnlyUserAgentRules).renderStyle;
Expand Down

0 comments on commit 8e3616c

Please sign in to comment.