Index: Source/core/clipboard/Pasteboard.cpp |
diff --git a/Source/core/clipboard/Pasteboard.cpp b/Source/core/clipboard/Pasteboard.cpp |
index ed0d086a3cfb9391fd3a0bee9db05a5f1869ee0c..e6c0e7ade3f3812e8ce70a686a271e1fde89cfbc 100644 |
--- a/Source/core/clipboard/Pasteboard.cpp |
+++ b/Source/core/clipboard/Pasteboard.cpp |
@@ -92,7 +92,7 @@ void Pasteboard::writeImage(Image* image, const KURL& url, const String& title) |
void Pasteboard::writeDataObject(PassRefPtrWillBeRawPtr<DataObject> dataObject) |
{ |
- blink::Platform::current()->clipboard()->writeDataObject(blink::WebDragData(dataObject)); |
+ blink::Platform::current()->clipboard()->writeDataObject(dataObject->toWebDragData()); |
} |
bool Pasteboard::canSmartReplace() |