Bug 920377 part.13 Get rid of nsTouchEvent r=roc

This commit is contained in:
Masayuki Nakano committed 2013-09-27 15:20:57 +09:00
1 parent 395a56d9cb
commit fb9f3a20a8
31 files changed
+102 -96

No files matched your search

+2 -2
View File
@@ -704,7 +704,7 @@ AndroidGeckoEvent::Init(AndroidGeckoEvent *aResizeEvent)
mPoints = aResizeEvent->mPoints; // x,y coordinates
}
nsTouchEvent
WidgetTouchEvent
AndroidGeckoEvent::MakeTouchEvent(nsIWidget* widget)
{
int type = NS_EVENT_NULL;
@@ -737,7 +737,7 @@ AndroidGeckoEvent::MakeTouchEvent(nsIWidget* widget)
}
}
nsTouchEvent event(true, type, widget);
WidgetTouchEvent event(true, type, widget);
if (type == NS_EVENT_NULL) {
// An event we don't know about
return event;