Index: sky/engine/core/css/resolver/StyleResolver.h |
diff --git a/sky/engine/core/css/resolver/StyleResolver.h b/sky/engine/core/css/resolver/StyleResolver.h |
index ec98262eecb3e75b506550defff5dd3274d6879f..2ebd0b2a74455a94f4b59cc4e918964a9ed98ae4 100644 |
--- a/sky/engine/core/css/resolver/StyleResolver.h |
+++ b/sky/engine/core/css/resolver/StyleResolver.h |
@@ -100,16 +100,6 @@ public: |
// their dependency on Document* instead of grabbing one through StyleResolver. |
Document& document() { return *m_document; } |
- // FIXME: It could be better to call appendAuthorStyleSheets() directly after we factor StyleResolver further. |
- // https://bugs.webkit.org/show_bug.cgi?id=108890 |
- void appendAuthorStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&); |
- void finishAppendAuthorStyleSheets(); |
- |
- void lazyAppendAuthorStyleSheets(unsigned firstNew, const Vector<RefPtr<CSSStyleSheet> >&); |
- void removePendingAuthorStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&); |
- void appendPendingAuthorStyleSheets(); |
- bool hasPendingAuthorStyleSheets() const { return m_pendingStyleSheets.size() > 0; } |
- |
void styleTreeResolveScopedKeyframesRules(const Element*, Vector<RawPtr<ScopedStyleResolver>, 8>&); |
// |properties| is an array with |count| elements. |
@@ -120,6 +110,8 @@ public: |
// FIXME: Rename to reflect the purpose, like didChangeFontSize or something. |
void invalidateMatchedPropertiesCache(); |
+ void appendCSSStyleSheet(CSSStyleSheet*); |
+ |
void notifyResizeForViewportUnits(); |
StyleSharingList& styleSharingList() { return m_styleSharingList; } |
@@ -143,8 +135,6 @@ private: |
void loadPendingResources(StyleResolverState&); |
- void appendCSSStyleSheet(CSSStyleSheet*); |
- |
void matchAuthorRules(Element*, ElementRuleCollector&); |
void matchAllRules(StyleResolverState&, ElementRuleCollector&); |
void matchUARules(ElementRuleCollector&); |
@@ -178,8 +168,6 @@ private: |
RawPtr<Document> m_document; |
- ListHashSet<RawPtr<CSSStyleSheet>, 16> m_pendingStyleSheets; |
- |
bool m_printMediaType; |
StyleResourceLoader m_styleResourceLoader; |