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

Unified Diff: ui/base/x/events_x.cc

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/win/events_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/events_x.cc
diff --git a/ui/base/x/events_x.cc b/ui/base/x/events_x.cc
index 572c8d3237fbc9b2fd4a1af11e63b568e7dc2c42..7d69dc6c909ed7c32c3b54cd12085ec2ad448627 100644
--- a/ui/base/x/events_x.cc
+++ b/ui/base/x/events_x.cc
@@ -734,7 +734,7 @@ void UpdateDeviceList() {
TouchFactory::GetInstance()->UpdateDeviceList(display);
}
-bool IsNoopEvent(base::NativeEvent event) {
+bool IsNoopEvent(const base::NativeEvent& event) {
#if defined(TOOLKIT_USES_GTK)
NOTREACHED();
return false;
« no previous file with comments | « ui/base/win/events_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698