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

Unified Diff: Source/core/clipboard/DataTransferItem.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
Index: Source/core/clipboard/DataTransferItem.h
diff --git a/Source/core/clipboard/DataTransferItem.h b/Source/core/clipboard/DataTransferItem.h
index 3292155142ce59ff887bed9350678bf5bbd6cce3..9402fbeee687425ff5021aaca4af51e997c32b03 100644
--- a/Source/core/clipboard/DataTransferItem.h
+++ b/Source/core/clipboard/DataTransferItem.h
@@ -46,10 +46,10 @@ class File;
class StringCallback;
class ExecutionContext;
-class DataTransferItem : public RefCountedWillBeGarbageCollectedFinalized<DataTransferItem>, public ScriptWrappable {
+class DataTransferItem FINAL : public RefCountedWillBeGarbageCollected<DataTransferItem>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DataTransferItem);
public:
static PassRefPtrWillBeRawPtr<DataTransferItem> create(PassRefPtrWillBeRawPtr<DataTransfer>, PassRefPtrWillBeRawPtr<DataObjectItem>);
- ~DataTransferItem();
String kind() const;
String type() const;
« no previous file with comments | « Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp ('k') | Source/core/clipboard/DataTransferItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698