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

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

Issue 165443003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 04a39f93dbb0f1bb8cf066212969d3e74bb75b1c..adf35d15619c1af12e2a88fbf0f1e7ca2eb24fc0 100644
--- a/Source/core/xml/DocumentXPathEvaluator.h
+++ b/Source/core/xml/DocumentXPathEvaluator.h
@@ -40,12 +40,12 @@ class DocumentXPathEvaluator FINAL : public DocumentSupplement {
public:
virtual ~DocumentXPathEvaluator();
- static DocumentXPathEvaluator* from(DocumentSupplementable*);
+ static DocumentXPathEvaluator& from(DocumentSupplementable&);
- static PassRefPtr<XPathExpression> createExpression(DocumentSupplementable*,
+ static PassRefPtr<XPathExpression> createExpression(DocumentSupplementable&,
const String& expression, PassRefPtr<XPathNSResolver>, ExceptionState&);
- static PassRefPtr<XPathNSResolver> createNSResolver(DocumentSupplementable*, Node* nodeResolver);
- static PassRefPtr<XPathResult> evaluate(DocumentSupplementable*,
+ static PassRefPtr<XPathNSResolver> createNSResolver(DocumentSupplementable&, Node* nodeResolver);
+ static PassRefPtr<XPathResult> evaluate(DocumentSupplementable&,
const String& expression, Node* contextNode, PassRefPtr<XPathNSResolver>,
unsigned short type, XPathResult*, ExceptionState&);
« 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