Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index b372b48cc4a8f948711bccd04133aaa8db6e6f16..25ddb2a09a8334f5b53868d2f82fcf76760b637d 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -612,6 +612,7 @@ MediaQueryMatcher& Document::mediaQueryMatcher() |
void Document::mediaQueryAffectingValueChanged() |
{ |
+ styleResolverChanged(); |
m_evaluateMediaQueriesOnStyleRecalc = true; |
styleEngine().clearMediaQueryRuleSetStyleSheets(); |
InspectorInstrumentation::mediaQueryResultChanged(this); |