Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1123)

Unified Diff: Source/web/WebViewImpl.cpp

Issue 925913002: Fixed WebDragData's wrong dependency. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index bab562397713c825a185820b7996e0e5a37cf345..fe3b28a4e58718ac8a2f2a84ea36de20f06ac5d6 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -3594,7 +3594,7 @@ WebDragOperation WebViewImpl::dragTargetDragEnter(
{
ASSERT(!m_currentDragData);
- m_currentDragData = webDragData.getValue();
+ m_currentDragData = DataObject::createFromWebDragData(webDragData);
m_operationsAllowed = operationsAllowed;
return dragTargetDragEnterOrOver(clientPoint, screenPoint, DragEnter, keyModifiers);

Powered by Google App Engine
This is Rietveld 408576698