Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index 66182d67b98d7f618f7e3e7b7ad7b89ff14dc373..9953996b7500244c70633673b589c90e41af37fe 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -821,7 +821,7 @@ void WebPluginContainerImpl::handleDragEvent(MouseEvent* event) |
return; |
DataTransfer* dataTransfer = event->dataTransfer(); |
- WebDragData dragData(dataTransfer->dataObject()); |
+ WebDragData dragData = dataTransfer->dataObject()->toWebDragData(); |
WebDragOperationsMask dragOperationMask = static_cast<WebDragOperationsMask>(dataTransfer->sourceOperation()); |
WebPoint dragScreenLocation(event->screenX(), event->screenY()); |
WebPoint dragLocation(event->absoluteLocation().x() - location().x(), event->absoluteLocation().y() - location().y()); |