Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 9ce0938505d0a756131a23acd9ed3cb3ae70a624..7202a928cff0b31b8042f3af67161dff6f015169 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -579,7 +579,7 @@ MediaQueryMatcher& Document::mediaQueryMatcher() { |
void Document::mediaQueryAffectingValueChanged() { |
m_evaluateMediaQueriesOnStyleRecalc = true; |
- styleEngine().clearMediaQueryRuleSetStyleSheets(); |
+ styleEngine().mediaQueryAffectingValueChanged(); |
InspectorInstrumentation::mediaQueryResultChanged(this); |
} |