| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index e13a9b7ff8f68e9486022892111f0d01acceb76a..7b9770dbcc40c925bd3b90b51787ce3553ccacfe 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -3636,11 +3636,13 @@ void WebViewImpl::dragTargetDragLeave()
|
| m_currentDragData = nullptr;
|
| }
|
|
|
| -void WebViewImpl::dragTargetDrop(const WebPoint& clientPoint,
|
| - const WebPoint& screenPoint,
|
| - int modifiers)
|
| +void WebViewImpl::dragTargetDrop(const WebDragData& webDragData, const WebPoint& clientPoint,
|
| + const WebPoint& screenPoint,
|
| + int modifiers)
|
| {
|
| ASSERT(m_currentDragData);
|
| + if (!webDragData.isNull())
|
| + m_currentDragData = DataObject::create(webDragData);
|
|
|
| WebAutofillClient* autofillClient = mainFrameImpl() ? mainFrameImpl()->autofillClient() : 0;
|
| UserGestureNotifier notifier(autofillClient, &m_userGestureObserved);
|
|
|