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

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

Issue 2557533005: Collect active stylesheets and and apply asynchronously. (Closed)
Patch Set: Rebased. 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.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.h b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.h
index a97fb6a951b45f4db6d72951f3b3a09327d8d5b1..baff87789be7ec623dbfdf39470097150088f8c5 100644
--- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.h
+++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.h
@@ -28,13 +28,13 @@
#define DocumentStyleSheetCollector_h
#include "bindings/core/v8/TraceWrapperMember.h"
+#include "core/css/ActiveStyleSheets.h"
#include "platform/heap/Handle.h"
#include "wtf/HashSet.h"
#include "wtf/Vector.h"
namespace blink {
-class CSSStyleSheet;
class Document;
class StyleSheet;
class StyleSheetCollection;
@@ -53,9 +53,7 @@ class DocumentStyleSheetCollector {
HeapHashSet<Member<Document>>*);
~DocumentStyleSheetCollector();
- void appendActiveStyleSheets(
- const HeapVector<TraceWrapperMember<CSSStyleSheet>>&);
- void appendActiveStyleSheet(CSSStyleSheet*);
+ void appendActiveStyleSheet(const ActiveStyleSheet&);
void appendSheetForList(StyleSheet*);
bool hasVisited(Document* document) const {

Powered by Google App Engine
This is Rietveld 408576698