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

Unified Diff: Source/core/xml/DocumentXPathEvaluator.h

Issue 1060813005: Componentization: fix SupplementTracing<0>::~SupplementTracing<0>(void) already defined. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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.h ('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 f8ef6e01f1f24841442b0e4b75ef453167bc5189..978ef07064b016ffb24e0c86ba280d5d094ab5fb 100644
--- a/Source/core/xml/DocumentXPathEvaluator.h
+++ b/Source/core/xml/DocumentXPathEvaluator.h
@@ -26,7 +26,7 @@
#ifndef DocumentXPathEvaluator_h
#define DocumentXPathEvaluator_h
-#include "core/dom/DocumentSupplementable.h"
+#include "core/dom/Document.h"
#include "core/xml/XPathEvaluator.h"
#include "core/xml/XPathNSResolver.h"
@@ -36,15 +36,15 @@ class ExceptionState;
class XPathExpression;
class XPathResult;
-class DocumentXPathEvaluator final : public NoBaseWillBeGarbageCollected<DocumentXPathEvaluator>, public DocumentSupplement {
+class DocumentXPathEvaluator final : public NoBaseWillBeGarbageCollected<DocumentXPathEvaluator>, public WillBeHeapSupplement<Document> {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DocumentXPathEvaluator);
public:
- static DocumentXPathEvaluator& from(DocumentSupplementable&);
+ static DocumentXPathEvaluator& from(WillBeHeapSupplementable<Document>&);
- static PassRefPtrWillBeRawPtr<XPathExpression> createExpression(DocumentSupplementable&,
+ static PassRefPtrWillBeRawPtr<XPathExpression> createExpression(WillBeHeapSupplementable<Document>&,
const String& expression, PassRefPtrWillBeRawPtr<XPathNSResolver>, ExceptionState&);
- static PassRefPtrWillBeRawPtr<XPathNSResolver> createNSResolver(DocumentSupplementable&, Node* nodeResolver);
- static PassRefPtrWillBeRawPtr<XPathResult> evaluate(DocumentSupplementable&,
+ static PassRefPtrWillBeRawPtr<XPathNSResolver> createNSResolver(WillBeHeapSupplementable<Document>&, Node* nodeResolver);
+ static PassRefPtrWillBeRawPtr<XPathResult> evaluate(WillBeHeapSupplementable<Document>&,
const String& expression, Node* contextNode, PassRefPtrWillBeRawPtr<XPathNSResolver>,
unsigned short type, const ScriptValue&, ExceptionState&);
« no previous file with comments | « Source/core/workers/WorkerGlobalScopeProxyProvider.h ('k') | Source/core/xml/DocumentXPathEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698