Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug

MozReview-Commit-ID: ESWM5ZyBpSR
This commit is contained in:
Masayuki Nakano
2016-04-18 23:09:02 +09:00
parent f10cb853d6
commit 99eab530eb
57 changed files with 204 additions and 201 deletions

View File

@@ -732,8 +732,9 @@ AndroidGeckoEvent::MakeMouseEvent(nsIWidget* widget)
// in CSS pixels, which we need to convert to LayoutDevice pixels.
const LayoutDeviceIntPoint& offset = widget->WidgetToScreenOffset();
CSSToLayoutDeviceScale scale = widget->GetDefaultScale();
event.refPoint = LayoutDeviceIntPoint((Points()[0].x * scale.scale) - offset.x,
(Points()[0].y * scale.scale) - offset.y);
event.mRefPoint =
LayoutDeviceIntPoint((Points()[0].x * scale.scale) - offset.x,
(Points()[0].y * scale.scale) - offset.y);
return event;
}