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

Unified Diff: sky/engine/core/events/MouseEvent.cpp

Issue 694703002: Remove lots of dead virtuals from Element. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/core/events/EventDispatcher.cpp ('k') | sky/engine/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/MouseEvent.cpp
diff --git a/sky/engine/core/events/MouseEvent.cpp b/sky/engine/core/events/MouseEvent.cpp
index f2845fd352097f645877b4abbecb092177f17796..f41819d61c33960f7555463a77beb7edb33ef699 100644
--- a/sky/engine/core/events/MouseEvent.cpp
+++ b/sky/engine/core/events/MouseEvent.cpp
@@ -248,9 +248,6 @@ bool MouseEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) cons
return dispatcher->dispatch();
}
- if (isDisabledFormControl(dispatcher->node()))
- return false;
-
if (event()->type().isEmpty())
return true; // Shouldn't happen.
« no previous file with comments | « sky/engine/core/events/EventDispatcher.cpp ('k') | sky/engine/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698