Replace more loading methods in WebLocalFrame

https://chromium-review.googlesource.com/c/chromium/src/+/1043093
This commit is contained in:
Jeremy Apthorp 2018-10-02 15:33:12 -07:00
parent 816c2f1893
commit bacc36dde1

View file

@ -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 {