| Index: sky/engine/core/dom/TreeScope.h
|
| diff --git a/sky/engine/core/dom/TreeScope.h b/sky/engine/core/dom/TreeScope.h
|
| index 93adc1b448b276be3bed1623b498ee8e6524bfdb..dc9a95cb7ad4f12e336ed61ba20b112929fcbcd4 100644
|
| --- a/sky/engine/core/dom/TreeScope.h
|
| +++ b/sky/engine/core/dom/TreeScope.h
|
| @@ -40,6 +40,7 @@ class Element;
|
| class HitTestResult;
|
| class Node;
|
| class ScopedStyleResolver;
|
| +class StyleSheetCollection;
|
|
|
| // A class which inherits both Node and TreeScope must call clearRareData() in its destructor
|
| // so that the Node destructor no longer does problematic NodeList cache manipulation in
|
| @@ -114,6 +115,7 @@ public:
|
| Element* getElementByAccessKey(const String& key) const;
|
|
|
| ScopedStyleResolver& scopedStyleResolver() const { return *m_scopedStyleResolver; }
|
| + StyleSheetCollection& styleSheets() const { return *m_styleSheets; }
|
|
|
| protected:
|
| TreeScope(ContainerNode&, Document&);
|
| @@ -155,6 +157,7 @@ private:
|
| RawPtr<TreeScope> m_parentTreeScope;
|
|
|
| OwnPtr<ScopedStyleResolver> m_scopedStyleResolver;
|
| + OwnPtr<StyleSheetCollection> m_styleSheets;
|
|
|
| OwnPtr<DocumentOrderedMap> m_elementsById;
|
| OwnPtr<DocumentOrderedMap> m_imageMapsByName;
|
|
|