[MD Settings] Remove jank for webui.
WebUI URLRequest source data is (on desktop) backed by a memory-mapped file. Copying that data in CompleteRead can trigger jankiness due to potential file IO caused by the read. This CL moves the memcpy on the file thread. It is also a re-land of https://codereview.chromium.org/2158123003/ with minor changes to fix a crash. R=dbeam@chromium.org, mmenke@chromium.org, dproy@chromium.org BUG=455423 Review-Url: https://codereview.chromium.org/2268653002 Cr-Commit-Position: refs/heads/master@{#414269}
Showing
Please register or sign in to comment