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

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

Issue 2572473006: Revert of Collect active stylesheets and and apply asynchronously. (Closed)
Patch Set: 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 baff87789be7ec623dbfdf39470097150088f8c5..a97fb6a951b45f4db6d72951f3b3a09327d8d5b1 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,7 +53,9 @@
HeapHashSet<Member<Document>>*);
~DocumentStyleSheetCollector();
- void appendActiveStyleSheet(const ActiveStyleSheet&);
+ void appendActiveStyleSheets(
+ const HeapVector<TraceWrapperMember<CSSStyleSheet>>&);
+ void appendActiveStyleSheet(CSSStyleSheet*);
void appendSheetForList(StyleSheet*);
bool hasVisited(Document* document) const {

Powered by Google App Engine
This is Rietveld 408576698