Index: Source/core/dom/CSSSelectorWatch.h |
diff --git a/Source/core/dom/CSSSelectorWatch.h b/Source/core/dom/CSSSelectorWatch.h |
index 92ec1519f9c4f1186f92ab1a0c5897d0b38acbee..35756c7a24bfb0c2e9a037922181af82438e1440 100644 |
--- a/Source/core/dom/CSSSelectorWatch.h |
+++ b/Source/core/dom/CSSSelectorWatch.h |
@@ -43,7 +43,8 @@ |
namespace WebCore { |
-class CSSSelectorWatch : public DocumentSupplement { |
+class CSSSelectorWatch FINAL : public NoBaseWillBeGarbageCollectedFinalized<CSSSelectorWatch>, public DocumentSupplement { |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(CSSSelectorWatch); |
public: |
virtual ~CSSSelectorWatch() { } |
@@ -54,15 +55,15 @@ public: |
void updateSelectorMatches(const Vector<String>& removedSelectors, const Vector<String>& addedSelectors); |
- virtual void trace(Visitor*) OVERRIDE { } |
+ virtual void trace(Visitor*) OVERRIDE; |
private: |
- CSSSelectorWatch(Document&); |
+ explicit CSSSelectorWatch(Document&); |
void callbackSelectorChangeTimerFired(Timer<CSSSelectorWatch>*); |
Document& m_document; |
- WillBePersistentHeapVector<RefPtrWillBeMember<StyleRule> > m_watchedCallbackSelectors; |
+ WillBeHeapVector<RefPtrWillBeMember<StyleRule> > m_watchedCallbackSelectors; |
// Maps a CSS selector string with a -webkit-callback property to the number |
// of matching RenderStyle objects in this document. |