[Extra zoom mode] fast/visual-viewport/extrazoom/layout-viewport-after-scrolling...
[WebKit-https.git] / LayoutTests / fast / viewport / extrazoom / viewport-change-min-device-width.html
index ca7b1db..50cd4e9 100644 (file)
@@ -17,7 +17,7 @@
         function logWindowDimensionsAfterSettingViewportContent(content) {
             return new Promise(async resolve => {
                 meta.setAttribute("content", content);
-                await UIHelper.ensurePresentationUpdate();
+                await UIHelper.ensureVisibleContentRectUpdate();
                 debug(`[${meta.getAttribute("content")}] (${innerWidth}, ${innerHeight})`);
                 resolve();
             });