Index: sky/engine/core/dom/StyleEngine.h |
diff --git a/sky/engine/core/dom/StyleEngine.h b/sky/engine/core/dom/StyleEngine.h |
index 37ad7f6bd5b5dad42655f22dfbd92c9107d51854..d04beeab385eec35018e1737d8e78a8c321c4106 100644 |
--- a/sky/engine/core/dom/StyleEngine.h |
+++ b/sky/engine/core/dom/StyleEngine.h |
@@ -50,17 +50,6 @@ class StyleSheetContents; |
class StyleEngine final : public CSSFontSelectorClient { |
WTF_MAKE_FAST_ALLOCATED; |
public: |
- |
- class IgnoringPendingStylesheet : public TemporaryChange<bool> { |
- public: |
- IgnoringPendingStylesheet(StyleEngine* engine) |
- : TemporaryChange<bool>(engine->m_ignorePendingStylesheets, true) |
- { |
- } |
- }; |
- |
- friend class IgnoringPendingStylesheet; |
- |
static PassOwnPtr<StyleEngine> create(Document& document) { return adoptPtr(new StyleEngine(document)); } |
~StyleEngine(); |
@@ -72,8 +61,6 @@ public: |
void updateActiveStyleSheets(); |
- bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets; } |
- |
// FIXME(sky): Remove this and ::first-line. |
bool usesFirstLineRules() const { return false; } |
@@ -124,7 +111,6 @@ private: |
typedef ListHashSet<TreeScope*, 16> TreeScopeSet; |
TreeScopeSet m_activeTreeScopes; |
- bool m_ignorePendingStylesheets; |
OwnPtr<StyleResolver> m_resolver; |
RefPtr<CSSFontSelector> m_fontSelector; |