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

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

Issue 697893003: Oilpan: avoid invoking some no-op finalizers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove Finalized<> for StyleSheetList Created 6 years, 1 month 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
« no previous file with comments | « Source/core/css/MediaQueryListListener.cpp ('k') | Source/core/css/StyleSheetList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleSheetList.h
diff --git a/Source/core/css/StyleSheetList.h b/Source/core/css/StyleSheetList.h
index a34b0808ab4974f4d39488f232dd6fd019964f7b..d4dfa9799069f102e61e783f9688cbd3ccbed4fc 100644
--- a/Source/core/css/StyleSheetList.h
+++ b/Source/core/css/StyleSheetList.h
@@ -34,11 +34,11 @@ namespace blink {
class HTMLStyleElement;
class StyleSheet;
-class StyleSheetList : public RefCountedWillBeGarbageCollectedFinalized<StyleSheetList>, public ScriptWrappable {
+class StyleSheetList final : public RefCountedWillBeGarbageCollected<StyleSheetList>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(StyleSheetList);
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<StyleSheetList> create(TreeScope* treeScope) { return adoptRefWillBeNoop(new StyleSheetList(treeScope)); }
- ~StyleSheetList();
unsigned length();
StyleSheet* item(unsigned index);
@@ -56,7 +56,7 @@ public:
void trace(Visitor*);
private:
- StyleSheetList(TreeScope*);
+ explicit StyleSheetList(TreeScope*);
const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& styleSheets();
RawPtrWillBeMember<TreeScope> m_treeScope;
« no previous file with comments | « Source/core/css/MediaQueryListListener.cpp ('k') | Source/core/css/StyleSheetList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698