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

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

Issue 85263006: Make IDL Callbacks non-refcounted by default (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 1 month 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/dom/DataTransferItem.h ('k') | Source/core/dom/MutationCallback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DataTransferItem.cpp
diff --git a/Source/core/dom/DataTransferItem.cpp b/Source/core/dom/DataTransferItem.cpp
index 8d2d97606cfbc4a50223b8e7b1465d9d12c46f8f..369b7f1f7ca0b2d7cc974615817892f42db4c1c8 100644
--- a/Source/core/dom/DataTransferItem.cpp
+++ b/Source/core/dom/DataTransferItem.cpp
@@ -64,7 +64,7 @@ String DataTransferItem::type() const
return m_item->type();
}
-void DataTransferItem::getAsString(ExecutionContext* context, PassRefPtr<StringCallback> callback) const
+void DataTransferItem::getAsString(ExecutionContext* context, PassOwnPtr<StringCallback> callback) const
{
if (!m_clipboard->canReadData())
return;
« no previous file with comments | « Source/core/dom/DataTransferItem.h ('k') | Source/core/dom/MutationCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698