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

Unified Diff: components/test_runner/event_sender.cc

Issue 2148733003: Avoided rentry to EventSender::FinishDragAndDrop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved back state-reset back on test failures. Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/event_sender.cc
diff --git a/components/test_runner/event_sender.cc b/components/test_runner/event_sender.cc
index da916753b62250ebbded67f24f1b8ae702692ff8..3a4b797d6e1975e1ecdd3bec535f02f6a7e302cb 100644
--- a/components/test_runner/event_sender.cc
+++ b/components/test_runner/event_sender.cc
@@ -2670,10 +2670,9 @@ void EventSender::FinishDragAndDrop(const WebMouseEvent& unscaled_event,
} else {
view()->dragTargetDragLeave();
}
+ current_drag_data_.reset();
view()->dragSourceEndedAt(client_point, screen_point, current_drag_effect_);
view()->dragSourceSystemDragEnded();
-
- current_drag_data_.reset();
}
void EventSender::DoDragAfterMouseUp(const WebMouseEvent& unscaled_event) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698