Index: third_party/WebKit/Source/core/dom/StyleEngine.h |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h |
index aac69e7511dc297474b44008098a7bd54ea4ad5f..e5bad65e63d49f7eabc03e1364b420ba3cdec9c4 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h |
@@ -315,6 +315,10 @@ class CORE_EXPORT StyleEngine final |
void updateViewport(); |
void updateActiveStyleSheets(); |
+ void updateGlobalRuleSet() { |
+ DCHECK(!needsActiveStyleSheetUpdate()); |
+ m_globalRuleSet.update(document()); |
+ } |
const MediaQueryEvaluator& ensureMediaQueryEvaluator(); |
Member<Document> m_document; |