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

Unified Diff: sky/engine/core/css/StyleSheetList.h

Issue 778743003: Merge StyleSheet into CSSStyleSheet. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: sort headers. Created 6 years 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/css/StyleSheet.cpp ('k') | sky/engine/core/css/StyleSheetList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/StyleSheetList.h
diff --git a/sky/engine/core/css/StyleSheetList.h b/sky/engine/core/css/StyleSheetList.h
index 11ef4bf9dce67d2609288849a90247d71d42eff1..171df43b365ed9e31682fda8ee68a8e8185b5bfb 100644
--- a/sky/engine/core/css/StyleSheetList.h
+++ b/sky/engine/core/css/StyleSheetList.h
@@ -30,8 +30,8 @@
namespace blink {
+class CSSStyleSheet;
class HTMLStyleElement;
-class StyleSheet;
class StyleSheetList : public RefCounted<StyleSheetList> {
public:
@@ -39,7 +39,7 @@ public:
~StyleSheetList();
unsigned length();
- StyleSheet* item(unsigned index);
+ CSSStyleSheet* item(unsigned index);
HTMLStyleElement* getNamedItem(const AtomicString&) const;
@@ -53,11 +53,11 @@ public:
private:
StyleSheetList(TreeScope*);
- const Vector<RefPtr<StyleSheet> >& styleSheets();
+ const Vector<RefPtr<CSSStyleSheet> >& styleSheets();
RawPtr<TreeScope> m_treeScope;
#if !ENABLE(OILPAN)
- Vector<RefPtr<StyleSheet> > m_detachedStyleSheets;
+ Vector<RefPtr<CSSStyleSheet> > m_detachedStyleSheets;
#endif
};
« no previous file with comments | « sky/engine/core/css/StyleSheet.cpp ('k') | sky/engine/core/css/StyleSheetList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698