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

Unified Diff: sky/engine/core/dom/StyleSheetCollection.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/dom/StyleSheetCollection.h ('k') | sky/engine/core/dom/shadow/ElementShadow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/StyleSheetCollection.cpp
diff --git a/sky/engine/core/dom/StyleSheetCollection.cpp b/sky/engine/core/dom/StyleSheetCollection.cpp
index b930f76d56f003d738ff5dd3e073827b0bc07d09..2c241d9b282986e9ebf40527f3873110cd3e0cba 100644
--- a/sky/engine/core/dom/StyleSheetCollection.cpp
+++ b/sky/engine/core/dom/StyleSheetCollection.cpp
@@ -45,7 +45,7 @@ void StyleSheetCollection::swap(StyleSheetCollection& other)
m_activeAuthorStyleSheets.swap(other.m_activeAuthorStyleSheets);
}
-void StyleSheetCollection::swapSheetsForSheetList(Vector<RefPtr<StyleSheet> >& sheets)
+void StyleSheetCollection::swapSheetsForSheetList(Vector<RefPtr<CSSStyleSheet> >& sheets)
{
// Only called for collection of HTML Imports that never has active sheets.
ASSERT(m_activeAuthorStyleSheets.isEmpty());
@@ -62,7 +62,7 @@ void StyleSheetCollection::appendActiveStyleSheet(CSSStyleSheet* sheet)
m_activeAuthorStyleSheets.append(sheet);
}
-void StyleSheetCollection::appendSheetForList(StyleSheet* sheet)
+void StyleSheetCollection::appendSheetForList(CSSStyleSheet* sheet)
{
m_styleSheetsForStyleSheetList.append(sheet);
}
« no previous file with comments | « sky/engine/core/dom/StyleSheetCollection.h ('k') | sky/engine/core/dom/shadow/ElementShadow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698