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 fb8766ca26c81b550c43c56faa22c758df5531f0..c3bce9db3cb36e93e954a3793fc6008944ead940 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -3678,11 +3678,12 @@ 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, |
dcheng
2016/05/04 05:21:34
Nit: const WebDragData& dragData
|
+ const WebPoint& screenPoint, |
+ int modifiers) |
{ |
DCHECK(m_currentDragData); |
+ m_currentDragData = DataObject::create(webDragData); |
WebAutofillClient* autofillClient = mainFrameImpl() ? mainFrameImpl()->autofillClient() : 0; |
UserGestureNotifier notifier(autofillClient, &m_userGestureObserved); |