Index: Source/core/clipboard/DataTransferItem.cpp |
diff --git a/Source/core/clipboard/DataTransferItem.cpp b/Source/core/clipboard/DataTransferItem.cpp |
index 72b9852dfe397347f3531f7789d0eb288694fbe5..84a94b7a93be097c9fcb54ac3f3614605b7783d1 100644 |
--- a/Source/core/clipboard/DataTransferItem.cpp |
+++ b/Source/core/clipboard/DataTransferItem.cpp |
@@ -39,11 +39,9 @@ |
namespace blink { |
-DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DataTransferItem); |
- |
-PassRefPtrWillBeRawPtr<DataTransferItem> DataTransferItem::create(PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, PassRefPtrWillBeRawPtr<DataObjectItem> item) |
+DataTransferItem* DataTransferItem::create(DataTransfer* dataTransfer, DataObjectItem* item) |
{ |
- return adoptRefWillBeNoop(new DataTransferItem(dataTransfer, item)); |
+ return new DataTransferItem(dataTransfer, item); |
} |
String DataTransferItem::kind() const |
@@ -87,7 +85,7 @@ Blob* DataTransferItem::getAsFile() const |
return m_item->getAsFile(); |
} |
-DataTransferItem::DataTransferItem(PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, PassRefPtrWillBeRawPtr<DataObjectItem> item) |
+DataTransferItem::DataTransferItem(DataTransfer* dataTransfer, DataObjectItem* item) |
: m_dataTransfer(dataTransfer) |
, m_item(item) |
{ |
@@ -100,4 +98,3 @@ DEFINE_TRACE(DataTransferItem) |
} |
} // namespace blink |
- |