Index: Source/core/clipboard/Pasteboard.cpp |
diff --git a/Source/core/clipboard/Pasteboard.cpp b/Source/core/clipboard/Pasteboard.cpp |
index 46dc29ceab1abc5a80944c746401bec033fc6fda..4c38345adb06dd277655119d8aa6fc25d14b66af 100644 |
--- a/Source/core/clipboard/Pasteboard.cpp |
+++ b/Source/core/clipboard/Pasteboard.cpp |
@@ -90,9 +90,9 @@ void Pasteboard::writeImage(Image* image, const KURL& url, const String& title) |
blink::Platform::current()->clipboard()->writeImage(webImage, blink::WebURL(url), blink::WebString(title)); |
} |
-void Pasteboard::writeDataObject(PassRefPtr<DataObject> dataObject) |
+void Pasteboard::writeDataObject(PassRefPtrWillBeRawPtr<DataObject> dataObject) |
{ |
- blink::Platform::current()->clipboard()->writeDataObject(dataObject); |
+ blink::Platform::current()->clipboard()->writeDataObject(blink::WebDragData(dataObject)); |
} |
bool Pasteboard::canSmartReplace() |