| Index: Source/core/dom/StyleEngine.h
|
| diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h
|
| index 95b6c2eed8635db802867268a81d23392e853db8..9d940e0a65636c641aecbf62d9fbe7013938e19d 100644
|
| --- a/Source/core/dom/StyleEngine.h
|
| +++ b/Source/core/dom/StyleEngine.h
|
| @@ -56,23 +56,6 @@ class StyleSheetCollection;
|
| class StyleSheetContents;
|
| class StyleSheetList;
|
|
|
| -class StyleResolverChange {
|
| -public:
|
| - StyleResolverChange()
|
| - : m_needsRepaint(false)
|
| - , m_needsStyleRecalc(false)
|
| - { }
|
| -
|
| - bool needsRepaint() const { return m_needsRepaint; }
|
| - bool needsStyleRecalc() const { return m_needsStyleRecalc; }
|
| - void setNeedsRepaint() { m_needsRepaint = true; }
|
| - void setNeedsStyleRecalc() { m_needsStyleRecalc = true; }
|
| -
|
| -private:
|
| - bool m_needsRepaint;
|
| - bool m_needsStyleRecalc;
|
| -};
|
| -
|
| class StyleEngine FINAL : public CSSFontSelectorClient {
|
| WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
|
| public:
|
| @@ -119,7 +102,7 @@ public:
|
|
|
| void clearMediaQueryRuleSetStyleSheets();
|
| void updateStyleSheetsInImport(DocumentStyleSheetCollector& parentCollector);
|
| - bool updateActiveStyleSheets(StyleResolverUpdateMode);
|
| + void updateActiveStyleSheets(StyleResolverUpdateMode);
|
|
|
| String preferredStylesheetSetName() const { return m_preferredStylesheetSetName; }
|
| String selectedStylesheetSetName() const { return m_selectedStylesheetSetName; }
|
| @@ -182,7 +165,7 @@ public:
|
|
|
| void didDetach();
|
| bool shouldClearResolver() const;
|
| - StyleResolverChange resolverChanged(StyleResolverUpdateMode);
|
| + void resolverChanged(StyleResolverUpdateMode);
|
| unsigned resolverAccessCount() const;
|
|
|
| void markDocumentDirty();
|
| @@ -201,7 +184,8 @@ private:
|
|
|
| TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&);
|
| TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&);
|
| - bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode);
|
| + bool shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMode) const;
|
| + bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode) const;
|
| bool shouldApplyXSLTransform() const;
|
|
|
| void markTreeScopeDirty(TreeScope&);
|
|
|