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 cef7a95b85e3ff2e799b957edfb7af80d6526384..97c0a96a3771bba32636309ca5dd10370c810241 100644 |
--- a/components/printing/renderer/print_web_view_helper.cc |
+++ b/components/printing/renderer/print_web_view_helper.cc |
@@ -904,8 +904,7 @@ void PrintWebViewHelper::OnPrintForPrintPreview( |
// the element with ID "pdf-viewer" if it isn't an iframe. |
blink::WebLocalFrame* plugin_frame = pdf_element.document().frame(); |
blink::WebElement plugin_element = pdf_element; |
- if (delegate_->IsOutOfProcessPdfEnabled() && |
- pdf_element.hasHTMLTagName("iframe")) { |
+ if (pdf_element.hasHTMLTagName("iframe")) { |
plugin_frame = blink::WebLocalFrame::fromFrameOwnerElement(pdf_element); |
plugin_element = delegate_->GetPdfElement(plugin_frame); |
if (plugin_element.isNull()) { |