| Index: sky/engine/core/dom/StyleEngine.h
|
| diff --git a/sky/engine/core/dom/StyleEngine.h b/sky/engine/core/dom/StyleEngine.h
|
| index dedc91eb742440a32754e2d2b96cf320e940c907..7410a247362a3e5b6718ef7e3c94c551c0c3994f 100644
|
| --- a/sky/engine/core/dom/StyleEngine.h
|
| +++ b/sky/engine/core/dom/StyleEngine.h
|
| @@ -50,12 +50,13 @@ class StyleSheetContents;
|
| class StyleEngine final : public CSSFontSelectorClient {
|
| WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| - static PassOwnPtr<StyleEngine> create(Document& document) { return adoptPtr(new StyleEngine(document)); }
|
| + static PassOwnPtr<StyleEngine> create(Document& document)
|
| + {
|
| + return adoptPtr(new StyleEngine(document));
|
| + }
|
|
|
| ~StyleEngine();
|
|
|
| - void detachFromDocument();
|
| -
|
| void addTreeScope(TreeScope&);
|
| void removeTreeScope(TreeScope&);
|
|
|
| @@ -65,12 +66,10 @@ public:
|
| StyleResolver& resolver() { return *m_resolver; }
|
|
|
| CSSFontSelector* fontSelector() { return m_fontSelector.get(); }
|
| - void clearFontCache();
|
| - // updateGenericFontFamilySettings is used from WebSettingsImpl.
|
| +
|
| void updateGenericFontFamilySettings();
|
|
|
| void resolverChanged();
|
| - unsigned resolverAccessCount() const;
|
|
|
| PassRefPtr<CSSStyleSheet> createSheet(Element*, const String& text);
|
| void removeSheet(StyleSheetContents*);
|
| @@ -82,6 +81,9 @@ private:
|
| private:
|
| explicit StyleEngine(Document&);
|
|
|
| + // TODO(esprehn): Need to call this after @font-face rules load.
|
| + void clearFontCache();
|
| +
|
| void updateActiveStyleSheets();
|
|
|
| RawPtr<Document> m_document;
|
|
|