
DocumentLoader::StartLoadingResponse body can take multiple ms and post a bunch of tasks when initializing the renderer with the initial empty document. This is not necessary, since the document doesn't have anything to load. This change adds a feature to avoid doing this. If the results look promising, I may look into other renderer init improvements. Bug: 332706093 Change-Id: I503f4851ebe722e50a513886512b323e856f481a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5502925 Commit-Queue: Clark DuVall <cduvall@chromium.org> Reviewed-by: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1299623}