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

Unified Diff: ui/ozone/platform/caca/caca_event_source.cc

Issue 566673003: ozone: events: Centralize & document our NativeEvent woes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: ui/ozone/platform/caca/caca_event_source.cc
diff --git a/ui/ozone/platform/caca/caca_event_source.cc b/ui/ozone/platform/caca/caca_event_source.cc
index 90050f58e9abb53fdbf039166bd6d2280b17aa1b..a8da8b40a1217611ead71505d2a8335e8be792da 100644
--- a/ui/ozone/platform/caca/caca_event_source.cc
+++ b/ui/ozone/platform/caca/caca_event_source.cc
@@ -217,8 +217,7 @@ void CacaEventSource::OnInputEvent(caca_event_t* event, CacaWindow* window) {
gfx::PointF location = TranslateLocation(last_cursor_location_, window);
ui::MouseEvent mouse_event(
type, location, location, flags, changed_flags);
- ui::MouseEvent mouse_event2(&mouse_event);
- window->OnCacaEvent(&mouse_event2);
+ window->OnCacaEvent(&mouse_event);
break;
}
default:

Powered by Google App Engine
This is Rietveld 408576698