Index: third_party/WebKit/Source/core/xml/XPathValue.cpp |
diff --git a/third_party/WebKit/Source/core/xml/XPathValue.cpp b/third_party/WebKit/Source/core/xml/XPathValue.cpp |
index af8836e15a8f9a33785847b35532e8441f1f53a5..06d27401d9eaef8d76cbc1d620d6c699cfa54808 100644 |
--- a/third_party/WebKit/Source/core/xml/XPathValue.cpp |
+++ b/third_party/WebKit/Source/core/xml/XPathValue.cpp |
@@ -53,8 +53,8 @@ const NodeSet& Value::toNodeSet(EvaluationContext* context) const |
context->hadTypeConversionError = true; |
if (!m_data) { |
- DEFINE_STATIC_LOCAL(Persistent<NodeSet>, emptyNodeSet, (NodeSet::create())); |
- return *emptyNodeSet; |
+ DEFINE_STATIC_LOCAL(NodeSet, emptyNodeSet, (NodeSet::create())); |
+ return emptyNodeSet; |
} |
return m_data->nodeSet(); |