| Index: sky/engine/core/dom/TreeScope.h
|
| diff --git a/sky/engine/core/dom/TreeScope.h b/sky/engine/core/dom/TreeScope.h
|
| index cd8691bae1b2f92720bb1de23c6bbb74e23ba2a2..93adc1b448b276be3bed1623b498ee8e6524bfdb 100644
|
| --- a/sky/engine/core/dom/TreeScope.h
|
| +++ b/sky/engine/core/dom/TreeScope.h
|
| @@ -113,9 +113,7 @@ public:
|
|
|
| Element* getElementByAccessKey(const String& key) const;
|
|
|
| - ScopedStyleResolver* scopedStyleResolver() const { return m_scopedStyleResolver.get(); }
|
| - ScopedStyleResolver& ensureScopedStyleResolver();
|
| - void clearScopedStyleResolver();
|
| + ScopedStyleResolver& scopedStyleResolver() const { return *m_scopedStyleResolver; }
|
|
|
| protected:
|
| TreeScope(ContainerNode&, Document&);
|
| @@ -156,17 +154,15 @@ private:
|
| RawPtr<Document> m_document;
|
| RawPtr<TreeScope> m_parentTreeScope;
|
|
|
| -#if !ENABLE(OILPAN)
|
| - int m_guardRefCount;
|
| -#endif
|
| + OwnPtr<ScopedStyleResolver> m_scopedStyleResolver;
|
|
|
| OwnPtr<DocumentOrderedMap> m_elementsById;
|
| OwnPtr<DocumentOrderedMap> m_imageMapsByName;
|
| OwnPtr<DocumentOrderedMap> m_labelsByForAttribute;
|
|
|
| - OwnPtr<ScopedStyleResolver> m_scopedStyleResolver;
|
| -
|
| mutable RefPtr<DOMSelection> m_selection;
|
| +
|
| + int m_guardRefCount;
|
| };
|
|
|
| DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(TreeScope)
|
|
|