diff --git a/gfx/layers/apz/test/mochitest/helper_doubletap_zoom_small.html b/gfx/layers/apz/test/mochitest/helper_doubletap_zoom_small.html deleted file mode 100644 index ed92b6f99541..000000000000 --- a/gfx/layers/apz/test/mochitest/helper_doubletap_zoom_small.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - Check that double tapping a small element works - - - - - - - -
- - - diff --git a/gfx/layers/apz/test/mochitest/test_group_double_tap_zoom.html b/gfx/layers/apz/test/mochitest/test_group_double_tap_zoom.html index 7d66a72b3365..07fdf8002059 100644 --- a/gfx/layers/apz/test/mochitest/test_group_double_tap_zoom.html +++ b/gfx/layers/apz/test/mochitest/test_group_double_tap_zoom.html @@ -27,7 +27,6 @@ var subtests = [ {"file": "helper_doubletap_zoom_img.html", "prefs": doubletap_prefs}, {"file": "helper_doubletap_zoom_textarea.html", "prefs": doubletap_prefs}, {"file": "helper_doubletap_zoom_horizontal_center.html", "prefs": visualviewport_and_doubletap_prefs}, - {"file": "helper_doubletap_zoom_small.html", "prefs": doubletap_prefs}, ]; if (getPlatform() == "mac") { @@ -36,7 +35,6 @@ if (getPlatform() == "mac") { {"file": "helper_doubletap_zoom_img.html?touchpad", "prefs": doubletap_prefs}, {"file": "helper_doubletap_zoom_textarea.html?touchpad", "prefs": doubletap_prefs}, {"file": "helper_doubletap_zoom_horizontal_center.html?touchpad", "prefs": visualviewport_and_doubletap_prefs}, - {"file": "helper_doubletap_zoom_small.html?touchpad", "prefs": doubletap_prefs}, ); } diff --git a/widget/cocoa/nsChildView.mm b/widget/cocoa/nsChildView.mm index 82b03c271a3d..916c0dcb36a3 100644 --- a/widget/cocoa/nsChildView.mm +++ b/widget/cocoa/nsChildView.mm @@ -1050,8 +1050,7 @@ nsresult nsChildView::SynthesizeNativeTouchpadDoubleTap(mozilla::LayoutDeviceInt uint32_t aModifierFlags) { NS_OBJC_BEGIN_TRY_BLOCK_RETURN; - DispatchDoubleTapGesture(TimeStamp::Now(), aPoint - WidgetToScreenOffset(), - static_cast(aModifierFlags)); + DispatchDoubleTapGesture(TimeStamp::Now(), aPoint, static_cast(aModifierFlags)); return NS_OK;