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

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

View File

@@ -15,11 +15,11 @@ namespace mozilla {
using namespace dom;
MultiTouchInput::MultiTouchInput(const nsTouchEvent& aTouchEvent)
MultiTouchInput::MultiTouchInput(const WidgetTouchEvent& aTouchEvent)
: InputData(MULTITOUCH_INPUT, aTouchEvent.time)
{
NS_ABORT_IF_FALSE(NS_IsMainThread(),
"Can only copy from nsTouchEvent on main thread");
"Can only copy from WidgetTouchEvent on main thread");
switch (aTouchEvent.message) {
case NS_TOUCH_START: