| Index: Source/core/platform/chromium/ChromiumDataObjectItem.cpp
|
| diff --git a/Source/core/platform/chromium/ChromiumDataObjectItem.cpp b/Source/core/platform/chromium/ChromiumDataObjectItem.cpp
|
| index 51e2416605c8e7ec0321fbb5780216b063eaffbd..980a5db43709229233ca973203de365afcf1a276 100644
|
| --- a/Source/core/platform/chromium/ChromiumDataObjectItem.cpp
|
| +++ b/Source/core/platform/chromium/ChromiumDataObjectItem.cpp
|
| @@ -102,12 +102,12 @@ ChromiumDataObjectItem::ChromiumDataObjectItem(const String& kind, const String&
|
| {
|
| }
|
|
|
| -void ChromiumDataObjectItem::getAsString(PassRefPtr<StringCallback> callback, ExecutionContext* context) const
|
| +void ChromiumDataObjectItem::getAsString(PassOwnPtr<StringCallback> callback, ExecutionContext* context) const
|
| {
|
| if (!callback || kind() != DataTransferItem::kindString)
|
| return;
|
|
|
| - callback->scheduleCallback(context, internalGetAsString());
|
| + StringCallback::scheduleCallback(callback, context, internalGetAsString());
|
| }
|
|
|
| PassRefPtr<Blob> ChromiumDataObjectItem::getAsFile() const
|
|
|