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..6f3c38e69b4106a07ff8d5bec8f8ca0e2604c243 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -3636,11 +3636,14 @@ 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()) { |
aelias_OOO_until_Jul13
2016/03/02 00:03:19
nit: no braces for one-line clauses in Blink style
hush (inactive)
2016/03/02 02:35:11
Done.
|
+ m_currentDragData = DataObject::create(webDragData); |
+ } |
WebAutofillClient* autofillClient = mainFrameImpl() ? mainFrameImpl()->autofillClient() : 0; |
UserGestureNotifier notifier(autofillClient, &m_userGestureObserved); |