Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug

MozReview-Commit-ID: FLbows8davI
This commit is contained in:
Masayuki Nakano
2016-03-30 18:44:28 +09:00
parent 634f2481ca
commit 93fc327cc4
22 changed files with 83 additions and 79 deletions

View File

@@ -535,9 +535,9 @@ nsRangeFrame::GetValueAtEventPoint(WidgetGUIEvent* aEvent)
LayoutDeviceIntPoint absPoint;
if (aEvent->mClass == eTouchEventClass) {
MOZ_ASSERT(aEvent->AsTouchEvent()->touches.Length() == 1,
"Unexpected number of touches");
absPoint = aEvent->AsTouchEvent()->touches[0]->mRefPoint;
MOZ_ASSERT(aEvent->AsTouchEvent()->mTouches.Length() == 1,
"Unexpected number of mTouches");
absPoint = aEvent->AsTouchEvent()->mTouches[0]->mRefPoint;
} else {
absPoint = aEvent->refPoint;
}