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

Unified Diff: Source/core/page/DragController.cpp

Issue 724663002: Don't abort drags if drag image generation fails. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments Created 6 years, 1 month 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
« no previous file with comments | « LayoutTests/fast/events/setDragImage-with-detached-node-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/DragController.cpp
diff --git a/Source/core/page/DragController.cpp b/Source/core/page/DragController.cpp
index e2abec2cb4433aa3dce4322003178ae84b36be2d..9922972e925b2faf9ce06daf72a423bef758ea09 100644
--- a/Source/core/page/DragController.cpp
+++ b/Source/core/page/DragController.cpp
@@ -931,8 +931,6 @@ bool DragController::startDrag(LocalFrame* src, const DragState& state, const Pl
}
doSystemDrag(dragImage.get(), dragLocation, mouseDraggedPoint, dataTransfer, src, true);
} else if (state.m_dragType == DragSourceActionDHTML) {
- if (!dragImage)
- return false;
doSystemDrag(dragImage.get(), dragLocation, dragOrigin, dataTransfer, src, false);
} else {
ASSERT_NOT_REACHED();
« no previous file with comments | « LayoutTests/fast/events/setDragImage-with-detached-node-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698