diff options
Diffstat (limited to 'WebCore/xml/XPathResult.h')
-rw-r--r-- | WebCore/xml/XPathResult.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<XPathResult> 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? |