mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1809920 - Make WidgetPointerEvent use int32_t for mWidth/mHeight; r=smaug
The value are assigned from `Touch::mRadius`, https://searchfox.org/mozilla-central/rev/893a8f062ec6144c84403fbfb0a57234418b89cf/dom/events/PointerEventHandler.cpp#550-551, which is a `IntPointTyped<LayoutDevicePixel>`, https://searchfox.org/mozilla-central/rev/893a8f062ec6144c84403fbfb0a57234418b89cf/gfx/2d/Point.h#66. Differential Revision: https://phabricator.services.mozilla.com/D166696
This commit is contained in:
parent
3bfc7ebe13
commit
bacb13e934
@ -714,8 +714,8 @@ class WidgetPointerEvent : public WidgetMouseEvent {
|
||||
return result;
|
||||
}
|
||||
|
||||
uint32_t mWidth;
|
||||
uint32_t mHeight;
|
||||
int32_t mWidth;
|
||||
int32_t mHeight;
|
||||
bool mIsPrimary;
|
||||
bool mFromTouchEvent;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user