Index: Source/web/DragClientImpl.cpp |
diff --git a/Source/web/DragClientImpl.cpp b/Source/web/DragClientImpl.cpp |
index 9b75f1223215a8a08b50709c8356886798b5b8e6..d92ab03e50f340d7e2cabee6bb86e58ac3d74ad3 100644 |
--- a/Source/web/DragClientImpl.cpp |
+++ b/Source/web/DragClientImpl.cpp |
@@ -63,7 +63,7 @@ void DragClientImpl::startDrag(DragImage* dragImage, const IntPoint& dragImageOr |
// Add a ref to the frame just in case a load occurs mid-drag. |
RefPtrWillBeRawPtr<LocalFrame> frameProtector(frame); |
- WebDragData dragData(dataTransfer->dataObject()); |
+ WebDragData dragData = dataTransfer->dataObject()->toWebDragData(); |
WebDragOperationsMask dragOperationMask = static_cast<WebDragOperationsMask>(dataTransfer->sourceOperation()); |
WebImage image; |
IntSize offsetSize(eventPos - dragImageOrigin); |