Use frame/origin-bound URLLoaderFactory in PrepareFrameAndViewForPrint.

This CL modifies PrepareFrameAndViewForPrint::CreateURLLoaderFactory
method so that it delegates creation of URLLoaderFactory to the frame
being printed.

Bug: 891872
Change-Id: I42a87f908e18b751bf8dd1d192b4fa2e34141d09
Reviewed-on: https://chromium-review.googlesource.com/c/1356022
Reviewed-by: Wei Li <weili@chromium.org>
Commit-Queue: Ɓukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612728}
1 file changed