| 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 b7cce0b2882a8ced664176879c5a2104b1b0406f..fd62c978092eabb839057408ed163bab0d6ee60d 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>
|
|
|