Browse Source

Replace more loading methods in WebLocalFrame

https://chromium-review.googlesource.com/c/chromium/src/+/1043093
Jeremy Apthorp 6 years ago
parent
commit
bacc36dde1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      chromium_src/chrome/renderer/printing/print_web_view_helper.cc

+ 1 - 1
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 {