diff --git a/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js b/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js index c817cc243257..4c882a07fccd 100644 --- a/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js +++ b/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js @@ -1369,5 +1369,5 @@ async function doubleTapOn(element, x, y, useTouchpad) { await transformEndPromise; // Flush state so we can query an accurate resolution - await promiseOnlyApzControllerFlushed(); + await promiseApzFlushedRepaints(); }