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

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

Issue 983123003: Add [TypeChecking=Interface] to XPath interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: revert test change; no longer needed Created 5 years, 9 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/xml/DocumentXPathEvaluator.h ('k') | Source/core/xml/DocumentXPathEvaluator.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/DocumentXPathEvaluator.cpp
diff --git a/Source/core/xml/DocumentXPathEvaluator.cpp b/Source/core/xml/DocumentXPathEvaluator.cpp
index 6f32981e40c91d2541394308a2c98e1d83e92db6..7c162b7e16cb8963254f0d1dd98910f1b38923ce 100644
--- a/Source/core/xml/DocumentXPathEvaluator.cpp
+++ b/Source/core/xml/DocumentXPathEvaluator.cpp
@@ -65,12 +65,12 @@ PassRefPtrWillBeRawPtr<XPathNSResolver> DocumentXPathEvaluator::createNSResolver
PassRefPtrWillBeRawPtr<XPathResult> DocumentXPathEvaluator::evaluate(DocumentSupplementable& document, const String& expression,
Node* contextNode, PassRefPtrWillBeRawPtr<XPathNSResolver> resolver, unsigned short type,
- XPathResult* result, ExceptionState& exceptionState)
+ const ScriptValue&, ExceptionState& exceptionState)
{
DocumentXPathEvaluator& suplement = from(document);
if (!suplement.m_xpathEvaluator)
suplement.m_xpathEvaluator = XPathEvaluator::create();
- return suplement.m_xpathEvaluator->evaluate(expression, contextNode, resolver, type, result, exceptionState);
+ return suplement.m_xpathEvaluator->evaluate(expression, contextNode, resolver, type, ScriptValue(), exceptionState);
}
DEFINE_TRACE(DocumentXPathEvaluator)
« no previous file with comments | « Source/core/xml/DocumentXPathEvaluator.h ('k') | Source/core/xml/DocumentXPathEvaluator.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698