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

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

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/XPathNSResolver.cpp ('k') | Source/core/xml/XPathResult.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathResult.h
diff --git a/Source/core/xml/XPathResult.h b/Source/core/xml/XPathResult.h
index ee3db6f54f58aa8cf2b948859d0eb07cf0bed6f4..fe7cd69b0219593d3d81ca8ba6c6eaf626340884 100644
--- a/Source/core/xml/XPathResult.h
+++ b/Source/core/xml/XPathResult.h
@@ -39,7 +39,8 @@ class Document;
class ExceptionState;
class Node;
-class XPathResult : public RefCountedWillBeGarbageCollectedFinalized<XPathResult>, public ScriptWrappable {
+class XPathResult FINAL : public RefCountedWillBeGarbageCollected<XPathResult>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(XPathResult);
public:
enum XPathResultType {
ANY_TYPE = 0,
@@ -58,7 +59,6 @@ public:
{
return adoptRefWillBeNoop(new XPathResult(document, value));
}
- ~XPathResult();
void convertTo(unsigned short type, ExceptionState&);
« no previous file with comments | « Source/core/xml/XPathNSResolver.cpp ('k') | Source/core/xml/XPathResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698