From bacc36dde13b51ff9e7938d1c5ba7f8371910e7f Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Tue, 2 Oct 2018 15:33:12 -0700 Subject: [PATCH] Replace more loading methods in WebLocalFrame https://chromium-review.googlesource.com/c/chromium/src/+/1043093 --- chromium_src/chrome/renderer/printing/print_web_view_helper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chromium_src/chrome/renderer/printing/print_web_view_helper.cc b/chromium_src/chrome/renderer/printing/print_web_view_helper.cc index e3f03b7fbfcd..8dda961d4589 100644 --- a/chromium_src/chrome/renderer/printing/print_web_view_helper.cc +++ b/chromium_src/chrome/renderer/printing/print_web_view_helper.cc @@ -526,7 +526,7 @@ void PrepareFrameAndViewForPrint::CopySelection( // When loading is done this will call DidStopLoading() and that will do the // actual printing. - frame()->LoadRequest(blink::WebURLRequest(GURL(url_str))); + frame()->StartNavigation(blink::WebURLRequest(GURL(url_str))); } bool PrepareFrameAndViewForPrint::AllowsBrokenNullLayerTreeView() const {