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

Unified Diff: third_party/WebKit/Source/core/css/StyleSheetList.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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/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
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleSheetContentsTest.cpp ('k') | third_party/WebKit/Source/core/css/StyleSheetList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698