| 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 f8d3929400d615cb455eb2c0637358cf4f6bd781..3b774628c5bc817d7f91f11cea0a490a6658905b 100644
|
| --- a/sky/engine/core/css/resolver/StyleResolver.h
|
| +++ b/sky/engine/core/css/resolver/StyleResolver.h
|
| @@ -76,17 +76,11 @@ public:
|
|
|
| static PassRefPtr<RenderStyle> styleForDocument(Document&);
|
|
|
| - // FIXME: This only has 5 callers and should be removed. Callers should be explicit about
|
| - // their dependency on Document* instead of grabbing one through StyleResolver.
|
| - Document& document() { return *m_document; }
|
| -
|
| void styleTreeResolveScopedKeyframesRules(const Element*, Vector<RawPtr<ScopedStyleResolver>, 8>&);
|
|
|
| // |properties| is an array with |count| elements.
|
| void applyPropertiesToStyle(const CSSPropertyValue* properties, size_t count, RenderStyle*);
|
|
|
| - bool mediaQueryAffectedByViewportChange() const;
|
| -
|
| // FIXME: Rename to reflect the purpose, like didChangeFontSize or something.
|
| void invalidateMatchedPropertiesCache();
|
|
|
| @@ -104,9 +98,6 @@ public:
|
| void disableStats();
|
| void printStats();
|
|
|
| - unsigned accessCount() const { return m_accessCount; }
|
| - void didAccess() { ++m_accessCount; }
|
| -
|
| private:
|
| // FIXME: This should probably go away, folded into FontBuilder.
|
| void updateFont(StyleResolverState&);
|
| @@ -141,16 +132,13 @@ private:
|
|
|
| MatchedPropertiesCache m_matchedPropertiesCache;
|
|
|
| - RawPtr<Document> m_document;
|
| + Document& m_document;
|
|
|
| StyleSharingList m_styleSharingList;
|
|
|
| OwnPtr<StyleResolverStats> m_styleResolverStats;
|
| OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
|
| unsigned m_styleResolverStatsSequence;
|
| -
|
| - // Use only for Internals::updateStyleAndReturnAffectedElementCount.
|
| - unsigned m_accessCount;
|
| };
|
|
|
| } // namespace blink
|
|
|