Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: sky/engine/core/dom/TreeScope.h

Issue 852703002: Merge StyleSheetCollection into ScopedStyleResolver. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/dom/StyleSheetCollection.cpp ('k') | sky/engine/core/dom/TreeScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/TreeScope.h
diff --git a/sky/engine/core/dom/TreeScope.h b/sky/engine/core/dom/TreeScope.h
index 4e2694a9d25c6bfa5783db04d25a1a6e4478a91b..3e9b28ca70d0695b83f43be1f49a329bd265927d 100644
--- a/sky/engine/core/dom/TreeScope.h
+++ b/sky/engine/core/dom/TreeScope.h
@@ -40,7 +40,6 @@ 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
@@ -113,7 +112,6 @@ public:
Element* getElementByAccessKey(const String& key) const;
ScopedStyleResolver& scopedStyleResolver() const { return *m_scopedStyleResolver; }
- StyleSheetCollection& styleSheets() const { return *m_styleSheets; }
protected:
TreeScope(ContainerNode&, Document&);
@@ -155,7 +153,6 @@ private:
RawPtr<TreeScope> m_parentTreeScope;
OwnPtr<ScopedStyleResolver> m_scopedStyleResolver;
- OwnPtr<StyleSheetCollection> m_styleSheets;
OwnPtr<DocumentOrderedMap> m_elementsById;
OwnPtr<DocumentOrderedMap> m_imageMapsByName;
« no previous file with comments | « sky/engine/core/dom/StyleSheetCollection.cpp ('k') | sky/engine/core/dom/TreeScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698