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

Unified Diff: Source/core/xml/DocumentXPathEvaluator.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/xml/DocumentXPathEvaluator.h
diff --git a/Source/core/xml/DocumentXPathEvaluator.h b/Source/core/xml/DocumentXPathEvaluator.h
index 3926518f8e17a0ee6359cd70cadb495abdd43248..18a6a78a9a8fbee1b889e09b0b1c9bf90ece1d9e 100644
--- a/Source/core/xml/DocumentXPathEvaluator.h
+++ b/Source/core/xml/DocumentXPathEvaluator.h
@@ -36,10 +36,9 @@ class ExceptionState;
class XPathExpression;
class XPathResult;
-class DocumentXPathEvaluator FINAL : public DocumentSupplement {
+class DocumentXPathEvaluator FINAL : public NoBaseWillBeGarbageCollected<DocumentXPathEvaluator>, public DocumentSupplement {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DocumentXPathEvaluator);
public:
- virtual ~DocumentXPathEvaluator();
-
static DocumentXPathEvaluator& from(DocumentSupplementable&);
static PassRefPtrWillBeRawPtr<XPathExpression> createExpression(DocumentSupplementable&,
@@ -49,14 +48,14 @@ public:
const String& expression, Node* contextNode, PassRefPtrWillBeRawPtr<XPathNSResolver>,
unsigned short type, XPathResult*, ExceptionState&);
- virtual void trace(Visitor*) OVERRIDE { }
+ virtual void trace(Visitor*) OVERRIDE;
private:
DocumentXPathEvaluator();
static const char* supplementName() { return "DocumentXPathEvaluator"; }
- RefPtrWillBePersistent<XPathEvaluator> m_xpathEvaluator;
+ RefPtrWillBeMember<XPathEvaluator> m_xpathEvaluator;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698