| 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 fba82e03c92b2852485624fed2758c51c93de2d0..774c31da36717503834ef89717c2dd188cdb1000 100644
|
| --- a/components/printing/renderer/print_web_view_helper.cc
|
| +++ b/components/printing/renderer/print_web_view_helper.cc
|
| @@ -839,9 +839,11 @@ blink::WebLocalFrame* PrepareFrameAndViewForPrint::CreateChildFrame(
|
| blink::WebSandboxFlags sandbox_flags,
|
| const blink::WebParsedFeaturePolicy& container_policy,
|
| const blink::WebFrameOwnerProperties& frame_owner_properties) {
|
| - blink::WebLocalFrame* frame =
|
| - parent->CreateLocalChild(scope, this, nullptr, nullptr);
|
| - return frame;
|
| + // This is called when printing a selection and when this selection contains
|
| + // an iframe. This is not supported yet. An empty rectangle will be displayed
|
| + // instead.
|
| + // Please see: https://crbug.com/732780.
|
| + return nullptr;
|
| }
|
|
|
| std::unique_ptr<blink::WebURLLoader>
|
|
|