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

Unified Diff: ui/base/events.h

Issue 9599005: Coverity: Fix a pass-by-value. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/base/cocoa/events_mac.mm ('k') | ui/base/win/events_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/events.h
diff --git a/ui/base/events.h b/ui/base/events.h
index 1545be3bb2c9ef646213783de2a04f2779545bd7..8d5b12080c1c0b0fcbe12afe8f361519b98fbc28 100644
--- a/ui/base/events.h
+++ b/ui/base/events.h
@@ -171,7 +171,7 @@ UI_EXPORT bool GetGestureTimes(const base::NativeEvent& native_event,
double* end_time);
// Returns true if event is noop.
-UI_EXPORT bool IsNoopEvent(base::NativeEvent event);
+UI_EXPORT bool IsNoopEvent(const base::NativeEvent& event);
// Creates and returns no-op event.
UI_EXPORT base::NativeEvent CreateNoopEvent();
« no previous file with comments | « ui/base/cocoa/events_mac.mm ('k') | ui/base/win/events_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698