We should allow the Renderer, when in autoresize mode, to allocate a new surface ID and send that to the browser along with its new size. The browser can then embed this Surface ID directly, avoiding any round-trip response to the renderer.
Eventually we will want to move this autoresize message to the impl thread ( issue 810213 ), but the current positioning in the main thread makes this a good first step.
Comment 1 by bugdroid1@chromium.org
, Apr 22 2018