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

Unified Diff: sky/engine/core/css/resolver/StyleResolver.h

Issue 846183002: Remove tracking of pending sheets. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | sky/engine/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | sky/engine/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698