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

Unified Diff: Source/core/dom/CSSSelectorWatch.h

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 6 years, 8 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/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.

Powered by Google App Engine
This is Rietveld 408576698