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

Unified Diff: ui/aura/test/event_generator.cc

Issue 143303006: Do not set the last mouse location from synthesized event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « ui/aura/root_window_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/event_generator.cc
diff --git a/ui/aura/test/event_generator.cc b/ui/aura/test/event_generator.cc
index e914a77a72547b08132422f8066c827bd1cecd6c..4926454a54f9096283b564d4053dfc22702d3fcb 100644
--- a/ui/aura/test/event_generator.cc
+++ b/ui/aura/test/event_generator.cc
@@ -596,7 +596,7 @@ void EventGenerator::DoDispatchEvent(ui::Event* event, bool async) {
pending_events_.push_back(pending_event);
} else {
ui::EventDispatchDetails details = current_root_window_->OnEventFromSource(
- static_cast<ui::KeyEvent*>(event));
+ event);
CHECK(!details.dispatcher_destroyed);
}
}
« no previous file with comments | « ui/aura/root_window_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698