| Index: components/printing/renderer/print_web_view_helper.cc
|
| diff --git a/components/printing/renderer/print_web_view_helper.cc b/components/printing/renderer/print_web_view_helper.cc
|
| index 91c72303c93818c2e93668d37be2479ac0c2f506..39105d7167e9626edd4ea472a9ba4826ae352b26 100644
|
| --- a/components/printing/renderer/print_web_view_helper.cc
|
| +++ b/components/printing/renderer/print_web_view_helper.cc
|
| @@ -606,7 +606,7 @@ class PrepareFrameAndViewForPrint : public blink::WebViewClient,
|
|
|
| private:
|
| // blink::WebViewClient:
|
| - void didStopLoading() override;
|
| + void didStopLoading(blink::WebLocalFrame*) override;
|
| // TODO(ojan): Remove this override and have this class use a non-null
|
| // layerTreeView.
|
| bool allowsBrokenNullLayerTreeView() const override;
|
| @@ -748,7 +748,7 @@ bool PrepareFrameAndViewForPrint::allowsBrokenNullLayerTreeView() const {
|
| return true;
|
| }
|
|
|
| -void PrepareFrameAndViewForPrint::didStopLoading() {
|
| +void PrepareFrameAndViewForPrint::didStopLoading(blink::WebLocalFrame*) {
|
| DCHECK(!on_ready_.is_null());
|
| // Don't call callback here, because it can delete |this| and WebView that is
|
| // called didStopLoading.
|
|
|