Index: third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.h |
diff --git a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.h b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.h |
index e3998f9435d0dc094badf8ea3d0f7d642e311213..1fee76787721fe71cd375e694e4a3af3e3d203d5 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.h |
+++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.h |
@@ -27,6 +27,7 @@ |
#ifndef DocumentStyleSheetCollector_h |
#define DocumentStyleSheetCollector_h |
+#include "core/css/ActiveStyleSheets.h" |
#include "platform/heap/Handle.h" |
#include "wtf/HashSet.h" |
#include "wtf/Vector.h" |
@@ -46,11 +47,10 @@ class DocumentStyleSheetCollector { |
public: |
friend class ImportedDocumentStyleSheetCollector; |
- DocumentStyleSheetCollector(HeapVector<Member<StyleSheet>>& sheetsForList, HeapVector<Member<CSSStyleSheet>>& activeList, HeapHashSet<Member<Document>>&); |
+ DocumentStyleSheetCollector(HeapVector<Member<StyleSheet>>& sheetsForList, ActiveStyleSheetVector&, HeapHashSet<Member<Document>>&); |
~DocumentStyleSheetCollector(); |
- void appendActiveStyleSheets(const HeapVector<Member<CSSStyleSheet>>&); |
- void appendActiveStyleSheet(CSSStyleSheet*); |
+ void appendActiveStyleSheet(const ActiveStyleSheet&); |
void appendSheetForList(StyleSheet*); |
bool hasVisited(Document* document) const { return m_visitedDocuments.contains(document); } |
@@ -58,7 +58,7 @@ public: |
private: |
HeapVector<Member<StyleSheet>>& m_styleSheetsForStyleSheetList; |
- HeapVector<Member<CSSStyleSheet>>& m_activeAuthorStyleSheets; |
+ ActiveStyleSheetVector& m_activeAuthorStyleSheets; |
HeapHashSet<Member<Document>>& m_visitedDocuments; |
}; |