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

Unified Diff: sky/engine/core/dom/DocumentStyleSheetCollector.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
Index: sky/engine/core/dom/DocumentStyleSheetCollector.cpp
diff --git a/sky/engine/core/dom/DocumentStyleSheetCollector.cpp b/sky/engine/core/dom/DocumentStyleSheetCollector.cpp
index 36d9265f769c96937a95dce635ace9b2e3735c7d..d410a26bdb1d6f6e8ee40e48a68c99c327ee3be3 100644
--- a/sky/engine/core/dom/DocumentStyleSheetCollector.cpp
+++ b/sky/engine/core/dom/DocumentStyleSheetCollector.cpp
@@ -28,12 +28,11 @@
#include "sky/engine/core/dom/DocumentStyleSheetCollector.h"
#include "sky/engine/core/css/CSSStyleSheet.h"
-#include "sky/engine/core/css/StyleSheet.h"
#include "sky/engine/core/dom/DocumentStyleSheetCollection.h"
namespace blink {
-DocumentStyleSheetCollector::DocumentStyleSheetCollector(Vector<RefPtr<StyleSheet> >& sheetsForList, Vector<RefPtr<CSSStyleSheet> >& activeList, HashSet<RawPtr<Document> >& visitedDocuments)
+DocumentStyleSheetCollector::DocumentStyleSheetCollector(Vector<RefPtr<CSSStyleSheet> >& sheetsForList, Vector<RefPtr<CSSStyleSheet> >& activeList, HashSet<RawPtr<Document> >& visitedDocuments)
: m_styleSheetsForStyleSheetList(sheetsForList)
, m_activeAuthorStyleSheets(activeList)
, m_visitedDocuments(visitedDocuments)
@@ -54,7 +53,7 @@ void DocumentStyleSheetCollector::appendActiveStyleSheet(CSSStyleSheet* sheet)
m_activeAuthorStyleSheets.append(sheet);
}
-void DocumentStyleSheetCollector::appendSheetForList(StyleSheet* sheet)
+void DocumentStyleSheetCollector::appendSheetForList(CSSStyleSheet* sheet)
{
m_styleSheetsForStyleSheetList.append(sheet);
}
@@ -64,7 +63,7 @@ ActiveDocumentStyleSheetCollector::ActiveDocumentStyleSheetCollector(StyleSheetC
{
}
-ImportedDocumentStyleSheetCollector::ImportedDocumentStyleSheetCollector(DocumentStyleSheetCollector& collector, Vector<RefPtr<StyleSheet> >& sheetForList)
+ImportedDocumentStyleSheetCollector::ImportedDocumentStyleSheetCollector(DocumentStyleSheetCollector& collector, Vector<RefPtr<CSSStyleSheet> >& sheetForList)
: DocumentStyleSheetCollector(sheetForList, collector.m_activeAuthorStyleSheets, collector.m_visitedDocuments)
{
}
« no previous file with comments | « sky/engine/core/dom/DocumentStyleSheetCollector.h ('k') | sky/engine/core/dom/ShadowTreeStyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698