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

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

Issue 925913002: Fixed WebDragData's wrong dependency. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
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()

Powered by Google App Engine
This is Rietveld 408576698