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

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

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/DocumentXSLT.cpp ('k') | Source/core/xml/XMLSerializer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/NativeXPathNSResolver.h
diff --git a/Source/core/xml/NativeXPathNSResolver.h b/Source/core/xml/NativeXPathNSResolver.h
index 002a3f378acc210095cfa39508da3ad1be56ec6d..6a072a773d6d66085e5ea099115fccb64ee477df 100644
--- a/Source/core/xml/NativeXPathNSResolver.h
+++ b/Source/core/xml/NativeXPathNSResolver.h
@@ -35,9 +35,9 @@ class Node;
class NativeXPathNSResolver final : public XPathNSResolver {
public:
- static PassRefPtrWillBeRawPtr<NativeXPathNSResolver> create(PassRefPtrWillBeRawPtr<Node> node)
+ static NativeXPathNSResolver* create(PassRefPtrWillBeRawPtr<Node> node)
{
- return adoptRefWillBeNoop(new NativeXPathNSResolver(node));
+ return new NativeXPathNSResolver(node);
}
virtual AtomicString lookupNamespaceURI(const String& prefix) override;
« no previous file with comments | « Source/core/xml/DocumentXSLT.cpp ('k') | Source/core/xml/XMLSerializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698