Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h

Issue 2394353003: Apply RuleSet changes for active stylesheet changes. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
index 8d3cf01c05e1b123fa3fc8ddd3321889d3ae2d92..221ca1da7712f7d5096a569d90f01fa7709e1e98 100644
--- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
+++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
@@ -28,6 +28,7 @@
#ifndef ScopedStyleResolver_h
#define ScopedStyleResolver_h
+#include "core/css/ActiveStyleSheets.h"
#include "core/css/ElementRuleCollector.h"
#include "core/css/RuleSet.h"
#include "core/dom/TreeScope.h"
@@ -56,6 +57,7 @@ class ScopedStyleResolver final : public GarbageCollected<ScopedStyleResolver> {
const StringImpl* animationName);
void appendCSSStyleSheet(CSSStyleSheet&, const MediaQueryEvaluator&);
+ void appendActiveStyleSheets(unsigned index, const ActiveStyleSheetVector&);
void collectMatchingAuthorRules(ElementRuleCollector&,
CascadeOrder = ignoreCascadeOrder);
void collectMatchingShadowHostRules(ElementRuleCollector&,
@@ -72,6 +74,7 @@ class ScopedStyleResolver final : public GarbageCollected<ScopedStyleResolver> {
bool hasDeepOrShadowSelector() const { return m_hasDeepOrShadowSelector; }
void setHasUnresolvedKeyframesRule() { m_hasUnresolvedKeyframesRule = true; }
static void keyframesRulesAdded(const TreeScope&);
+ static ContainerNode& invalidationRootForTreeScope(const TreeScope&);
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698