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

Unified Diff: sky/engine/core/events/EventDispatcher.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/dom/Node.cpp ('k') | sky/engine/core/events/MouseEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/EventDispatcher.cpp
diff --git a/sky/engine/core/events/EventDispatcher.cpp b/sky/engine/core/events/EventDispatcher.cpp
index 88ba7167b17beacf71fe5126d82ae62ee91ee41e..d5b1962728f70a4d3ffc4075602e5fa6fb35aad6 100644
--- a/sky/engine/core/events/EventDispatcher.cpp
+++ b/sky/engine/core/events/EventDispatcher.cpp
@@ -79,9 +79,6 @@ void EventDispatcher::dispatchSimulatedClick(Node* node, Event* underlyingEvent,
// the code from running into an infinite recursion of dispatchSimulatedClick().
DEFINE_STATIC_LOCAL(OwnPtr<HashSet<RawPtr<Node> > >, nodesDispatchingSimulatedClicks, (adoptPtr(new HashSet<RawPtr<Node> >())));
- if (isDisabledFormControl(node))
- return;
-
if (nodesDispatchingSimulatedClicks->contains(node))
return;
« no previous file with comments | « sky/engine/core/dom/Node.cpp ('k') | sky/engine/core/events/MouseEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698