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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.cpp

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed html import issue. Created 4 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: 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 2a947f9b549baf6025eca003324a1f16f65e2beb..4fc49e1f3ff8f518661c785ab9f15b3eeb7e58d8 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);
}

Powered by Google App Engine
This is Rietveld 408576698