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

Unified Diff: trunk/Source/core/input/EventHandler.cpp

Issue 1184693003: Revert 196987 "Don't invoke default actions for MouseEvents gene..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 5 years, 6 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 | « trunk/Source/core/events/MouseEvent.cpp ('k') | trunk/Source/platform/PlatformMouseEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/input/EventHandler.cpp
===================================================================
--- trunk/Source/core/input/EventHandler.cpp (revision 197019)
+++ trunk/Source/core/input/EventHandler.cpp (working copy)
@@ -1695,8 +1695,7 @@
event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(),
0, MouseEvent::platformModifiersToButtons(event.modifiers()), nullptr, dataTransfer);
- dragTarget->dispatchMouseEvent(me.get());
-
+ dragTarget->dispatchEvent(me.get(), IGNORE_EXCEPTION);
return me->defaultPrevented();
}
« no previous file with comments | « trunk/Source/core/events/MouseEvent.cpp ('k') | trunk/Source/platform/PlatformMouseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698