| Index: third_party/WebKit/Source/core/css/StyleSheetList.h
|
| diff --git a/third_party/WebKit/Source/core/css/StyleSheetList.h b/third_party/WebKit/Source/core/css/StyleSheetList.h
|
| index b404038b6336f0ed24d1463bfdb35efdc33bd797..b80cb20b83313036e835cece1157c1eff71945b5 100644
|
| --- a/third_party/WebKit/Source/core/css/StyleSheetList.h
|
| +++ b/third_party/WebKit/Source/core/css/StyleSheetList.h
|
| @@ -34,11 +34,10 @@ namespace blink {
|
| class HTMLStyleElement;
|
| class StyleSheet;
|
|
|
| -class StyleSheetList final : public RefCountedWillBeGarbageCollected<StyleSheetList>, public ScriptWrappable {
|
| - DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(StyleSheetList);
|
| +class StyleSheetList final : public GarbageCollected<StyleSheetList>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<StyleSheetList> create(TreeScope* treeScope) { return adoptRefWillBeNoop(new StyleSheetList(treeScope)); }
|
| + static RawPtr<StyleSheetList> create(TreeScope* treeScope) { return new StyleSheetList(treeScope); }
|
|
|
| unsigned length();
|
| StyleSheet* item(unsigned index);
|
| @@ -57,9 +56,9 @@ public:
|
|
|
| private:
|
| explicit StyleSheetList(TreeScope*);
|
| - const WillBeHeapVector<RefPtrWillBeMember<StyleSheet>>& styleSheets();
|
| + const HeapVector<Member<StyleSheet>>& styleSheets();
|
|
|
| - RawPtrWillBeMember<TreeScope> m_treeScope;
|
| + Member<TreeScope> m_treeScope;
|
| #if !ENABLE(OILPAN)
|
| Vector<RefPtr<StyleSheet>> m_detachedStyleSheets;
|
| #endif
|
|
|