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

Unified Diff: ui/events/ozone/evdev/device_event_dispatcher_evdev.cc

Issue 1112813003: Pass gfx structs by const ref (gfx::Vector2d/F) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 5 years, 8 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/events/ozone/evdev/device_event_dispatcher_evdev.cc
diff --git a/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc b/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
index a0065aa27787fa36dfa663114e33079307d5d2fe..0500248868989293bddeda097232e9f842bb1ddb 100644
--- a/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
+++ b/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
@@ -69,8 +69,8 @@ MouseWheelEventParams::~MouseWheelEventParams() {
ScrollEventParams::ScrollEventParams(int device_id,
EventType type,
const gfx::PointF location,
- const gfx::Vector2dF delta,
- const gfx::Vector2dF ordinal_delta,
+ const gfx::Vector2dF& delta,
+ const gfx::Vector2dF& ordinal_delta,
int finger_count,
const base::TimeDelta timestamp)
: device_id(device_id),
« no previous file with comments | « ui/events/ozone/evdev/device_event_dispatcher_evdev.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698