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

Unified Diff: Source/core/clipboard/DataTransferItem.cpp

Issue 640303002: Enable Oilpan for core/clipboard/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove some slightly pointy edges Created 5 years, 8 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/DataTransferItem.idl » ('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 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
-
« no previous file with comments | « Source/core/clipboard/DataTransferItem.h ('k') | Source/core/clipboard/DataTransferItem.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698