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

Unified Diff: Source/core/xml/XPathResult.cpp

Issue 1099613003: Oilpan: have xml/ objects on the heap by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add XPathNSResolver binding test 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
Index: Source/core/xml/XPathResult.cpp
diff --git a/Source/core/xml/XPathResult.cpp b/Source/core/xml/XPathResult.cpp
index 613a3ed2b76f0df1d93d9a8279768608a91d425b..99706398790068ef96f9560fa161b3400f36eee2 100644
--- a/Source/core/xml/XPathResult.cpp
+++ b/Source/core/xml/XPathResult.cpp
@@ -37,8 +37,6 @@ namespace blink {
using namespace XPath;
-DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(XPathResult);
-
XPathResult::XPathResult(EvaluationContext& context, const Value& value)
: m_value(value)
, m_nodeSetPosition(0)
@@ -65,6 +63,10 @@ XPathResult::XPathResult(EvaluationContext& context, const Value& value)
ASSERT_NOT_REACHED();
}
+XPathResult::~XPathResult()
+{
+}
+
DEFINE_TRACE(XPathResult)
{
visitor->trace(m_value);

Powered by Google App Engine
This is Rietveld 408576698