| 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
|
|
|