Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index 4d0a677b996012523bd3f3f07d2d9603928110d2..988183987fea387fce1867e6ac78ea5e9dfb653b 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -810,7 +810,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()); |