Index: Source/core/dom/DocumentStyleSheetCollector.cpp |
diff --git a/Source/core/dom/DocumentStyleSheetCollector.cpp b/Source/core/dom/DocumentStyleSheetCollector.cpp |
index ab88cd9c62dc5385b64a0d8aae2b9596702ad68a..c2b75cb2db3e4378669ccf7c7ecc85717e803113 100644 |
--- a/Source/core/dom/DocumentStyleSheetCollector.cpp |
+++ b/Source/core/dom/DocumentStyleSheetCollector.cpp |
@@ -33,9 +33,10 @@ |
namespace WebCore { |
-DocumentStyleSheetCollector::DocumentStyleSheetCollector(Vector<RefPtr<StyleSheet> >& sheetsForList, Vector<RefPtr<CSSStyleSheet> >& activeList) |
+DocumentStyleSheetCollector::DocumentStyleSheetCollector(Vector<RefPtr<StyleSheet> >& sheetsForList, Vector<RefPtr<CSSStyleSheet> >& activeList, HashSet<Document*>& visitedDocuments) |
: m_styleSheetsForStyleSheetList(sheetsForList) |
, m_activeAuthorStyleSheets(activeList) |
+ , m_visitedDocuments(visitedDocuments) |
{ |
} |
@@ -59,12 +60,12 @@ void DocumentStyleSheetCollector::appendSheetForList(StyleSheet* sheet) |
} |
ActiveDocumentStyleSheetCollector::ActiveDocumentStyleSheetCollector(StyleSheetCollection& collection) |
- : DocumentStyleSheetCollector(collection.m_styleSheetsForStyleSheetList, collection.m_activeAuthorStyleSheets) |
+ : DocumentStyleSheetCollector(collection.m_styleSheetsForStyleSheetList, collection.m_activeAuthorStyleSheets, m_visitedDocuments) |
{ |
} |
ImportedDocumentStyleSheetCollector::ImportedDocumentStyleSheetCollector(DocumentStyleSheetCollector& collector, Vector<RefPtr<StyleSheet> >& sheetForList) |
- : DocumentStyleSheetCollector(sheetForList, collector.m_activeAuthorStyleSheets) |
+ : DocumentStyleSheetCollector(sheetForList, collector.m_activeAuthorStyleSheets, collector.m_visitedDocuments) |
{ |
} |