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

Unified Diff: views/focus/accelerator_handler_touch.cc

Issue 6035004: touch: Fix buildbot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/focus/accelerator_handler_touch.cc
diff --git a/views/focus/accelerator_handler_touch.cc b/views/focus/accelerator_handler_touch.cc
index 54a2b323b4d48f0115b610716884c7b4302a34d8..a39da9e178b8be35205596cc83b779b28502c654 100644
--- a/views/focus/accelerator_handler_touch.cc
+++ b/views/focus/accelerator_handler_touch.cc
@@ -172,8 +172,10 @@ bool DispatchXEvent(XEvent* xev) {
}
}
- case KeyRelease:
- return root->ProcessKeyEvent(KeyEvent(xev));
+ case KeyRelease: {
+ KeyEvent keyev(xev);
+ return root->ProcessKeyEvent(keyev);
+ }
case ButtonPress:
case ButtonRelease: {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698