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

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: using namespace WebCore 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
« no previous file with comments | « Source/core/workers/WorkerGlobalScopeProxyProvider.cpp ('k') | Source/core/xml/DocumentXPathEvaluator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/DocumentXPathEvaluator.h
diff --git a/Source/core/xml/DocumentXPathEvaluator.h b/Source/core/xml/DocumentXPathEvaluator.h
index 6859290c8c28ed3680d8fe3eac05d5f0994e5c15..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,13 @@ public:
const String& expression, Node* contextNode, PassRefPtrWillBeRawPtr<XPathNSResolver>,
unsigned short type, XPathResult*, ExceptionState&);
- virtual void trace(Visitor* visitor) OVERRIDE { visitor->trace(m_xpathEvaluator); }
+ virtual void trace(Visitor*) OVERRIDE;
private:
DocumentXPathEvaluator();
static const char* supplementName() { return "DocumentXPathEvaluator"; }
- GC_PLUGIN_IGNORE("http://crbug.com/367660")
RefPtrWillBeMember<XPathEvaluator> m_xpathEvaluator;
};
« no previous file with comments | « Source/core/workers/WorkerGlobalScopeProxyProvider.cpp ('k') | Source/core/xml/DocumentXPathEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698