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

Unified Diff: Source/core/xml/XPathExpression.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/XPathExpression.h ('k') | Source/core/xml/XPathNSResolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathExpression.cpp
diff --git a/Source/core/xml/XPathExpression.cpp b/Source/core/xml/XPathExpression.cpp
index 78a3b19b2623747381f34e8a391c4015b9166dfd..8c5b5d1ad6488cdae8a1959dd71b4c2afa2fd219 100644
--- a/Source/core/xml/XPathExpression.cpp
+++ b/Source/core/xml/XPathExpression.cpp
@@ -40,6 +40,8 @@ namespace WebCore {
using namespace XPath;
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(XPathExpression);
+
XPathExpression::XPathExpression()
{
ScriptWrappable::init(this);
@@ -57,10 +59,6 @@ PassRefPtrWillBeRawPtr<XPathExpression> XPathExpression::createExpression(const
return expr.release();
}
-XPathExpression::~XPathExpression()
-{
-}
-
void XPathExpression::trace(Visitor* visitor)
{
visitor->trace(m_topExpression);
« no previous file with comments | « Source/core/xml/XPathExpression.h ('k') | Source/core/xml/XPathNSResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698