| Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| index fca51cb7fe1b23c3ed2f54a17b62aa5a15f9faf1..3830d87b66763f0d02f4d2cd5d41875d5d62bfe0 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| @@ -238,6 +238,12 @@ void StyleEngine::modifiedStyleSheetCandidateNode(Node& node) {
|
| resolverChanged(AnalyzedStyleUpdate);
|
| }
|
|
|
| +void StyleEngine::mediaQueriesChangedInScope(TreeScope& treeScope) {
|
| + if (ScopedStyleResolver* resolver = treeScope.scopedStyleResolver())
|
| + resolver->setNeedsAppendAllSheets();
|
| + setNeedsActiveStyleUpdate(treeScope);
|
| +}
|
| +
|
| void StyleEngine::watchedSelectorsChanged() {
|
| m_globalRuleSet.initWatchedSelectorsRuleSet(document());
|
| // TODO(rune@opera.com): Should be able to use RuleSetInvalidation here.
|
|
|