Index: chrome/renderer/printing/print_web_view_helper.cc |
diff --git a/chrome/renderer/printing/print_web_view_helper.cc b/chrome/renderer/printing/print_web_view_helper.cc |
index f3332eb208cacc645f83dad9776e48ab452b8997..201e4c25cfc9c3bcd65485912053db37fa698538 100644 |
--- a/chrome/renderer/printing/print_web_view_helper.cc |
+++ b/chrome/renderer/printing/print_web_view_helper.cc |
@@ -907,7 +907,7 @@ void PrintWebViewHelper::OnPrintForPrintPreview( |
// The out-of-process plugin element is nested within a frame. |
blink::WebLocalFrame* plugin_frame = pdf_element.document().frame(); |
blink::WebElement plugin_element = pdf_element; |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kOutOfProcessPdf)) { |
+ if (switches::OutOfProcessPdfEnabled()) { |
if (!pdf_element.hasHTMLTagName("iframe")) { |
NOTREACHED(); |
return; |