Index: third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp |
index 3359f3306133a8370a5618e72e35bbbb8aa803e1..7a0dfe3436ea767852c49da2dd440661b289d8fe 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp |
@@ -29,6 +29,7 @@ |
#include "core/dom/StyleSheetCollection.h" |
#include "core/css/CSSStyleSheet.h" |
+#include "core/css/RuleSet.h" |
namespace blink { |
@@ -52,20 +53,9 @@ void StyleSheetCollection::swapSheetsForSheetList( |
::blink::swap(m_styleSheetsForStyleSheetList, sheets, this); |
} |
-void StyleSheetCollection::appendActiveStyleSheet(CSSStyleSheet* sheet) { |
- m_activeAuthorStyleSheets.push_back(sheet); |
-} |
- |
-void StyleSheetCollection::appendActiveStyleSheets( |
- const HeapVector<Member<CSSStyleSheet>>& sheets) { |
- m_activeAuthorStyleSheets.appendVector(sheets); |
-} |
- |
-void StyleSheetCollection::appendActiveStyleSheets( |
- const HeapVector<TraceWrapperMember<CSSStyleSheet>>& sheets) { |
- for (CSSStyleSheet* sheet : sheets) { |
- m_activeAuthorStyleSheets.push_back(sheet); |
- } |
+void StyleSheetCollection::appendActiveStyleSheet( |
+ const ActiveStyleSheet& activeSheet) { |
+ m_activeAuthorStyleSheets.push_back(activeSheet); |
} |
void StyleSheetCollection::appendSheetForList(StyleSheet* sheet) { |