Chromium Code Reviews| Index: Source/core/dom/CSSSelectorWatch.h |
| diff --git a/Source/core/dom/CSSSelectorWatch.h b/Source/core/dom/CSSSelectorWatch.h |
| index 92ec1519f9c4f1186f92ab1a0c5897d0b38acbee..8fb571e060687c4169927566fabb98bacda5a910 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,7 +55,7 @@ public: |
| void updateSelectorMatches(const Vector<String>& removedSelectors, const Vector<String>& addedSelectors); |
| - virtual void trace(Visitor*) OVERRIDE { } |
| + virtual void trace(Visitor*) OVERRIDE; |
| private: |
| CSSSelectorWatch(Document&); |
|
haraken
2014/04/30 02:41:22
Add explicit.
zerny-chromium
2014/04/30 08:29:34
Done.
|
| @@ -62,7 +63,7 @@ private: |
| 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. |