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

Unified Diff: ash/host/ash_window_tree_host_unified.cc

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Address review issues Created 3 years, 9 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
Index: ash/host/ash_window_tree_host_unified.cc
diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc
index 5f436f10f609e2ab8540880beafe6d9b544e04b6..9e72297b9871b3d27dbbf882733d2f24d17e1673 100644
--- a/ash/host/ash_window_tree_host_unified.cc
+++ b/ash/host/ash_window_tree_host_unified.cc
@@ -32,8 +32,7 @@ class UnifiedEventTargeter : public aura::WindowTargeter {
located_event->ConvertLocationToTarget(
static_cast<aura::Window*>(nullptr), dst_root_);
}
- ignore_result(
- dst_root_->GetHost()->event_processor()->OnEventFromSource(event));
+ dst_root_->GetHost()->event_sink()->OnEventFromSource(event);
return nullptr;
} else {
NOTREACHED() << "event type:" << event->type();

Powered by Google App Engine
This is Rietveld 408576698