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

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

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/StyleSheetCollection.h
diff --git a/third_party/WebKit/Source/core/dom/StyleSheetCollection.h b/third_party/WebKit/Source/core/dom/StyleSheetCollection.h
index d79f04b5c9e9c49b478f313b755e5e39da0d3a1a..947009e9c943246a215a65dea190cdb320fdb02a 100644
--- a/third_party/WebKit/Source/core/dom/StyleSheetCollection.h
+++ b/third_party/WebKit/Source/core/dom/StyleSheetCollection.h
@@ -33,13 +33,13 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/TraceWrapperMember.h"
#include "core/CoreExport.h"
+#include "core/css/ActiveStyleSheets.h"
#include "platform/heap/Handle.h"
#include "wtf/Allocator.h"
#include "wtf/Vector.h"
namespace blink {
-class CSSStyleSheet;
class StyleSheet;
class CORE_EXPORT StyleSheetCollection
@@ -53,7 +53,7 @@ class CORE_EXPORT StyleSheetCollection
static StyleSheetCollection* create() { return new StyleSheetCollection; }
- const HeapVector<Member<CSSStyleSheet>>& activeAuthorStyleSheets() const {
+ const ActiveStyleSheetVector& activeAuthorStyleSheets() const {
return m_activeAuthorStyleSheets;
}
const HeapVector<TraceWrapperMember<StyleSheet>>&
@@ -63,10 +63,7 @@ class CORE_EXPORT StyleSheetCollection
void swap(StyleSheetCollection&);
void swapSheetsForSheetList(HeapVector<Member<StyleSheet>>&);
- void appendActiveStyleSheet(CSSStyleSheet*);
- void appendActiveStyleSheets(const HeapVector<Member<CSSStyleSheet>>&);
- void appendActiveStyleSheets(
- const HeapVector<TraceWrapperMember<CSSStyleSheet>>&);
+ void appendActiveStyleSheet(const ActiveStyleSheet&);
void appendSheetForList(StyleSheet*);
DECLARE_VIRTUAL_TRACE();
@@ -78,7 +75,7 @@ class CORE_EXPORT StyleSheetCollection
StyleSheetCollection();
HeapVector<TraceWrapperMember<StyleSheet>> m_styleSheetsForStyleSheetList;
- HeapVector<Member<CSSStyleSheet>> m_activeAuthorStyleSheets;
+ ActiveStyleSheetVector m_activeAuthorStyleSheets;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleEngine.cpp ('k') | third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698