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

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

Issue 2519393002: Force adding sheets and recalc for html import re-ordering. (Closed)
Patch Set: Missing reset in resetAuthorStyle() Created 4 years, 1 month 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 3cac30d0f0ddd8a7109d73c71f9ca252b899392d..38b7d1fcd5f953c244c9efdc847552bab391f917 100644
--- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
+++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
@@ -73,6 +73,8 @@ class ScopedStyleResolver final : public GarbageCollected<ScopedStyleResolver> {
void resetAuthorStyle();
bool hasDeepOrShadowSelector() const { return m_hasDeepOrShadowSelector; }
void setHasUnresolvedKeyframesRule() { m_hasUnresolvedKeyframesRule = true; }
+ bool needsAppendAllSheets() const { return m_needsAppendAllSheets; }
+ void setNeedsAppendAllSheets() { m_needsAppendAllSheets = true; }
static void keyframesRulesAdded(const TreeScope&);
static ContainerNode& invalidationRootForTreeScope(const TreeScope&);
@@ -119,6 +121,7 @@ class ScopedStyleResolver final : public GarbageCollected<ScopedStyleResolver> {
Member<CSSStyleSheetRuleSubSet> m_treeBoundaryCrossingRuleSet;
bool m_hasDeepOrShadowSelector = false;
bool m_hasUnresolvedKeyframesRule = false;
+ bool m_needsAppendAllSheets = false;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698