Index: third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.cpp b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.cpp |
index 7a0325253faff78225c9027ea568dcbdd1674167..17abbb9dc966195e73d4a7421de5e399e11dddfd 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.cpp |
+++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.cpp |
@@ -30,6 +30,7 @@ |
#include "core/css/CSSStyleSheet.h" |
#include "core/css/StyleSheet.h" |
+#include "core/dom/Document.h" |
#include "core/dom/DocumentStyleSheetCollection.h" |
namespace blink { |
@@ -44,13 +45,8 @@ DocumentStyleSheetCollector::DocumentStyleSheetCollector( |
DocumentStyleSheetCollector::~DocumentStyleSheetCollector() {} |
-void DocumentStyleSheetCollector::appendActiveStyleSheets( |
- const HeapVector<TraceWrapperMember<CSSStyleSheet>>& sheets) { |
- DCHECK(m_collection); |
- m_collection->appendActiveStyleSheets(sheets); |
-} |
- |
-void DocumentStyleSheetCollector::appendActiveStyleSheet(CSSStyleSheet* sheet) { |
+void DocumentStyleSheetCollector::appendActiveStyleSheet( |
+ const ActiveStyleSheet& sheet) { |
DCHECK(m_collection); |
m_collection->appendActiveStyleSheet(sheet); |
} |