From 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:05:15 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- WebCore/xml/XPathResult.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'WebCore/xml/XPathResult.h') diff --git a/WebCore/xml/XPathResult.h b/WebCore/xml/XPathResult.h index 356992d..ecd5cac 100644 --- a/WebCore/xml/XPathResult.h +++ b/WebCore/xml/XPathResult.h @@ -56,7 +56,7 @@ namespace WebCore { FIRST_ORDERED_NODE_TYPE = 9 }; - XPathResult(EventTargetNode*, const XPath::Value&); + static PassRefPtr create(EventTargetNode* eventTarget, const XPath::Value& value) { return adoptRef(new XPathResult(eventTarget, value)); } ~XPathResult(); void convertTo(unsigned short type, ExceptionCode&); @@ -76,6 +76,8 @@ namespace WebCore { void invalidateIteratorState(); private: + XPathResult(EventTargetNode*, const XPath::Value&); + XPath::Value m_value; unsigned m_nodeSetPosition; XPath::NodeSet m_nodeSet; // FIXME: why duplicate the node set stored in m_value? -- cgit v1.1