summaryrefslogtreecommitdiffstats
path: root/views/focus
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-28 14:23:46 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-28 14:23:46 +0000
commit5bfd1e78ca6b5f45a15b1bff9316b2d981389fac (patch)
tree975923df727f88fff8703703297133fc640841b4 /views/focus
parent93a564781cad18ec0dbde30b92a52f1b90428460 (diff)
downloadchromium_src-5bfd1e78ca6b5f45a15b1bff9316b2d981389fac.zip
chromium_src-5bfd1e78ca6b5f45a15b1bff9316b2d981389fac.tar.gz
chromium_src-5bfd1e78ca6b5f45a15b1bff9316b2d981389fac.tar.bz2
Update TouchEvent initialize for USE_XI2_MT according to
http://codereview.chromium.org/7942004/ refactoring. BUG= TEST=build with touchui=1 use_xi2_mt=1 Review URL: http://codereview.chromium.org/8060002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/focus')
-rw-r--r--views/focus/accelerator_handler_touch.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/focus/accelerator_handler_touch.cc b/views/focus/accelerator_handler_touch.cc
index ed74122..99dd049 100644
--- a/views/focus/accelerator_handler_touch.cc
+++ b/views/focus/accelerator_handler_touch.cc
@@ -51,13 +51,11 @@ bool DispatchX2Event(Widget* widget, XEvent* xev) {
case XI_TouchBegin:
case XI_TouchEnd:
case XI_TouchUpdate: {
- Event::FromNativeEvent2 from_native;
-
// Hide the cursor when a touch event comes in.
ui::TouchFactory::GetInstance()->SetCursorVisible(false, false);
// If the TouchEvent is processed by |widget|, then return.
- TouchEvent touch(xev, from_native);
+ TouchEvent touch(xev);
if (widget->OnTouchEvent(touch) != ui::TOUCH_STATUS_UNKNOWN)
return true;