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

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

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/StyleSheetList.h ('k') | sky/engine/core/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/StyleSheetList.cpp
diff --git a/sky/engine/core/css/StyleSheetList.cpp b/sky/engine/core/css/StyleSheetList.cpp
index cd2557b3e80f2df177e756d02c58ea2448184022..bc6a821b1638b4de564f2724c3bc33a67b39bb89 100644
--- a/sky/engine/core/css/StyleSheetList.cpp
+++ b/sky/engine/core/css/StyleSheetList.cpp
@@ -37,7 +37,7 @@ StyleSheetList::~StyleSheetList()
{
}
-inline const Vector<RefPtr<StyleSheet> >& StyleSheetList::styleSheets()
+inline const Vector<RefPtr<CSSStyleSheet> >& StyleSheetList::styleSheets()
{
#if !ENABLE(OILPAN)
if (!m_treeScope)
@@ -57,9 +57,9 @@ unsigned StyleSheetList::length()
return styleSheets().size();
}
-StyleSheet* StyleSheetList::item(unsigned index)
+CSSStyleSheet* StyleSheetList::item(unsigned index)
{
- const Vector<RefPtr<StyleSheet> >& sheets = styleSheets();
+ const Vector<RefPtr<CSSStyleSheet> >& sheets = styleSheets();
return index < sheets.size() ? sheets[index].get() : 0;
}
« no previous file with comments | « sky/engine/core/css/StyleSheetList.h ('k') | sky/engine/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698