Index: Source/core/css/StyleMedia.h |
diff --git a/Source/core/css/StyleMedia.h b/Source/core/css/StyleMedia.h |
index fc0fc4cf6f16943c5b690e2c32e43ec62d398320..01979d9c8b7dc8bd258853a51248be07f20cccdb 100644 |
--- a/Source/core/css/StyleMedia.h |
+++ b/Source/core/css/StyleMedia.h |
@@ -37,15 +37,16 @@ namespace blink { |
class LocalFrame; |
-class StyleMedia : public RefCountedWillBeGarbageCollectedFinalized<StyleMedia>, public DOMWindowProperty, public ScriptWrappable { |
+class StyleMedia : public RefCountedWillBeGarbageCollected<StyleMedia>, public DOMWindowProperty, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StyleMedia); |
public: |
static PassRefPtrWillBeRawPtr<StyleMedia> create(LocalFrame* frame) { return adoptRefWillBeNoop(new StyleMedia(frame));} |
AtomicString type() const; |
bool matchMedium(const String&) const; |
- void trace(Visitor*) { } |
+ virtual void trace(Visitor*) OVERRIDE; |
private: |
explicit StyleMedia(LocalFrame*); |