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

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

Issue 189543014: Ensure proper finalization of garbage-collected types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed dtor from HeapSupplement and derived classes Created 6 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: Source/core/css/MediaList.h
diff --git a/Source/core/css/MediaList.h b/Source/core/css/MediaList.h
index 8a835d4d90c99ef43d22d0220f607913ee1d92fe..f9ac9e0923aba34908781a663791793d603e0b76 100644
--- a/Source/core/css/MediaList.h
+++ b/Source/core/css/MediaList.h
@@ -39,13 +39,13 @@ class MediaList;
class MediaQuery;
class MediaQuerySet : public RefCountedWillBeGarbageCollected<MediaQuerySet> {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_NONE(MediaQuerySet);
public:
static PassRefPtrWillBeRawPtr<MediaQuerySet> create()
{
return adoptRefWillBeNoop(new MediaQuerySet());
}
static PassRefPtrWillBeRawPtr<MediaQuerySet> create(const String& mediaString);
- ~MediaQuerySet();
bool set(const String&);
bool add(const String&);

Powered by Google App Engine
This is Rietveld 408576698