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

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

Issue 166903010: Oilpan: Move core/xml/ to oilpan's heap (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
Index: Source/core/xml/DocumentXPathEvaluator.h
diff --git a/Source/core/xml/DocumentXPathEvaluator.h b/Source/core/xml/DocumentXPathEvaluator.h
index 04a39f93dbb0f1bb8cf066212969d3e74bb75b1c..afece8d257941b2f8b17c9624cdd2251a2aa0ed8 100644
--- a/Source/core/xml/DocumentXPathEvaluator.h
+++ b/Source/core/xml/DocumentXPathEvaluator.h
@@ -42,11 +42,11 @@ public:
static DocumentXPathEvaluator* from(DocumentSupplementable*);
- static PassRefPtr<XPathExpression> createExpression(DocumentSupplementable*,
- const String& expression, PassRefPtr<XPathNSResolver>, ExceptionState&);
- static PassRefPtr<XPathNSResolver> createNSResolver(DocumentSupplementable*, Node* nodeResolver);
- static PassRefPtr<XPathResult> evaluate(DocumentSupplementable*,
- const String& expression, Node* contextNode, PassRefPtr<XPathNSResolver>,
+ static PassRefPtrWillBeRawPtr<XPathExpression> createExpression(DocumentSupplementable*,
+ const String& expression, PassRefPtrWillBeRawPtr<XPathNSResolver>, ExceptionState&);
+ static PassRefPtrWillBeRawPtr<XPathNSResolver> createNSResolver(DocumentSupplementable*, Node* nodeResolver);
+ static PassRefPtrWillBeRawPtr<XPathResult> evaluate(DocumentSupplementable*,
+ const String& expression, Node* contextNode, PassRefPtrWillBeRawPtr<XPathNSResolver>,
unsigned short type, XPathResult*, ExceptionState&);
private:
@@ -54,7 +54,7 @@ private:
static const char* supplementName() { return "DocumentXPathEvaluator"; }
- RefPtr<XPathEvaluator> m_xpathEvaluator;
+ RefPtrWillBePersistent<XPathEvaluator> m_xpathEvaluator;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698