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

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

Issue 1099613003: Oilpan: have xml/ objects on the heap by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: simplify XPathResult dtor 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/xml/DocumentXPathEvaluator.h ('k') | Source/core/xml/DocumentXSLT.cpp » ('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 18839ab409af70b3cb3972194e3f0eddeb990e06..bc0e4ab5b745738ff2469df55c1a4c5eb51b39b7 100644
--- a/Source/core/xml/DocumentXPathEvaluator.cpp
+++ b/Source/core/xml/DocumentXPathEvaluator.cpp
@@ -46,8 +46,7 @@ DocumentXPathEvaluator& DocumentXPathEvaluator::from(WillBeHeapSupplementable<Do
return *cache;
}
-PassRefPtrWillBeRawPtr<XPathExpression> DocumentXPathEvaluator::createExpression(WillBeHeapSupplementable<Document>& document,
- const String& expression, PassRefPtrWillBeRawPtr<XPathNSResolver> resolver, ExceptionState& exceptionState)
+XPathExpression* DocumentXPathEvaluator::createExpression(WillBeHeapSupplementable<Document>& document, const String& expression, XPathNSResolver* resolver, ExceptionState& exceptionState)
{
DocumentXPathEvaluator& suplement = from(document);
if (!suplement.m_xpathEvaluator)
@@ -55,7 +54,7 @@ PassRefPtrWillBeRawPtr<XPathExpression> DocumentXPathEvaluator::createExpression
return suplement.m_xpathEvaluator->createExpression(expression, resolver, exceptionState);
}
-PassRefPtrWillBeRawPtr<XPathNSResolver> DocumentXPathEvaluator::createNSResolver(WillBeHeapSupplementable<Document>& document, Node* nodeResolver)
+XPathNSResolver* DocumentXPathEvaluator::createNSResolver(WillBeHeapSupplementable<Document>& document, Node* nodeResolver)
{
DocumentXPathEvaluator& suplement = from(document);
if (!suplement.m_xpathEvaluator)
@@ -63,8 +62,8 @@ PassRefPtrWillBeRawPtr<XPathNSResolver> DocumentXPathEvaluator::createNSResolver
return suplement.m_xpathEvaluator->createNSResolver(nodeResolver);
}
-PassRefPtrWillBeRawPtr<XPathResult> DocumentXPathEvaluator::evaluate(WillBeHeapSupplementable<Document>& document, const String& expression,
- Node* contextNode, PassRefPtrWillBeRawPtr<XPathNSResolver> resolver, unsigned short type,
+XPathResult* DocumentXPathEvaluator::evaluate(WillBeHeapSupplementable<Document>& document, const String& expression,
+ Node* contextNode, XPathNSResolver* resolver, unsigned short type,
const ScriptValue&, ExceptionState& exceptionState)
{
DocumentXPathEvaluator& suplement = from(document);
« no previous file with comments | « Source/core/xml/DocumentXPathEvaluator.h ('k') | Source/core/xml/DocumentXSLT.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698