summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorpenghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-16 20:04:00 +0000
committerpenghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-16 20:04:00 +0000
commit74202aea3e209e753484d2980e7e81c0f0614bef (patch)
tree9743c3ce9c47386715277fee33148718518b0977 /views
parent691fe26e3718f15998e7cefcb3e3ff3b964b4173 (diff)
downloadchromium_src-74202aea3e209e753484d2980e7e81c0f0614bef.zip
chromium_src-74202aea3e209e753484d2980e7e81c0f0614bef.tar.gz
chromium_src-74202aea3e209e753484d2980e7e81c0f0614bef.tar.bz2
Fix typo in GetTouchEventType
BUG=touchui crashes in debug build TEST=manually Review URL: http://codereview.chromium.org/7034011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/events/event_x.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/events/event_x.cc b/views/events/event_x.cc
index 332a80f..a495d77 100644
--- a/views/events/event_x.cc
+++ b/views/events/event_x.cc
@@ -84,7 +84,7 @@ int GetButtonMaskForX2Event(XIDeviceEvent* xievent) {
ui::EventType GetTouchEventType(XEvent* xev) {
XGenericEventCookie* cookie = &xev->xcookie;
- DCHECK_EQ(cookie->evtype, ui::ET_TOUCH_MOVED);
+ DCHECK_EQ(cookie->evtype, XI_Motion);
// Note: We will not generate a _STATIONARY event here. It will be created,
// when necessary, by a RWHVV.