| Index: Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
|
| index c053bff119d35042986491c706c2dee5c7087ff6..afc9abaea4ab3c7fe60d33022f44d37c4a0edeec 100644
|
| --- a/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/Source/web/WebPluginContainerImpl.cpp
|
| @@ -820,7 +820,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());
|
|
|