mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 15:43:10 -10:00
Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
MozReview-Commit-ID: FLbows8davI
This commit is contained in:
1 parent
634f2481ca
commit
93fc327cc4
22 files changed
+83
-79
No files matched your search
@@ -611,7 +611,7 @@ AndroidGeckoEvent::MakeTouchEvent(nsIWidget* widget)
|
||||
event.mTime = Time();
|
||||
|
||||
const LayoutDeviceIntPoint& offset = widget->WidgetToScreenOffset();
|
||||
event.touches.SetCapacity(endIndex - startIndex);
|
||||
event.mTouches.SetCapacity(endIndex - startIndex);
|
||||
for (int i = startIndex; i < endIndex; i++) {
|
||||
// In this code branch, we are dispatching this event directly
|
||||
// into Gecko (as opposed to going through the AsyncPanZoomController),
|
||||
@@ -629,7 +629,7 @@ AndroidGeckoEvent::MakeTouchEvent(nsIWidget* widget)
|
||||
radius,
|
||||
Orientations()[i],
|
||||
Pressures()[i]);
|
||||
event.touches.AppendElement(t);
|
||||
event.mTouches.AppendElement(t);
|
||||
}
|
||||
|
||||
return event;
|
||||
|
||||
Reference in new issue
Block a user