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

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

Issue 369713002: Remove destructors from ScriptWrappable objects (part 1) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/xml/XPathResult.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathResult.cpp
diff --git a/Source/core/xml/XPathResult.cpp b/Source/core/xml/XPathResult.cpp
index 3a9bdcff7e63c96e24c870be709bcbd0f3da26de..0ffcf16e3a3f995187cd8d823d8c08a515998b7b 100644
--- a/Source/core/xml/XPathResult.cpp
+++ b/Source/core/xml/XPathResult.cpp
@@ -36,6 +36,8 @@ namespace WebCore {
using namespace XPath;
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(XPathResult);
+
XPathResult::XPathResult(Document* document, const Value& value)
: m_value(value)
, m_nodeSetPosition(0)
@@ -63,10 +65,6 @@ XPathResult::XPathResult(Document* document, const Value& value)
ASSERT_NOT_REACHED();
}
-XPathResult::~XPathResult()
-{
-}
-
void XPathResult::trace(Visitor* visitor)
{
visitor->trace(m_value);
« no previous file with comments | « Source/core/xml/XPathResult.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698