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

Unified Diff: Source/core/clipboard/DataTransferItem.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/clipboard/DataTransferItem.h ('k') | Source/core/clipboard/DataTransferItemList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataTransferItem.cpp
diff --git a/Source/core/clipboard/DataTransferItem.cpp b/Source/core/clipboard/DataTransferItem.cpp
index 8998c62d63f86e220e0ebd2de8e5b0a56c58539c..15e1562e87de181ebb280b23f2eaf27576a2f899 100644
--- a/Source/core/clipboard/DataTransferItem.cpp
+++ b/Source/core/clipboard/DataTransferItem.cpp
@@ -39,15 +39,13 @@
namespace WebCore {
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DataTransferItem);
+
PassRefPtrWillBeRawPtr<DataTransferItem> DataTransferItem::create(PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, PassRefPtrWillBeRawPtr<DataObjectItem> item)
{
return adoptRefWillBeNoop(new DataTransferItem(dataTransfer, item));
}
-DataTransferItem::~DataTransferItem()
-{
-}
-
String DataTransferItem::kind() const
{
DEFINE_STATIC_LOCAL(const String, kindString, ("string"));
« no previous file with comments | « Source/core/clipboard/DataTransferItem.h ('k') | Source/core/clipboard/DataTransferItemList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698