Index: chrome/common/chrome_content_client.cc |
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc |
index d8da8c7381f9cee15ce6c3dd93fa9fd1b1a59b17..81091586b0362d1d8556cbb9303ec0c2c7ff04cc 100644 |
--- a/chrome/common/chrome_content_client.cc |
+++ b/chrome/common/chrome_content_client.cc |
@@ -139,8 +139,7 @@ void ComputeBuiltInPlugins(std::vector<content::PepperPluginInfo>* plugins) { |
content::PepperPluginInfo pdf; |
pdf.path = path; |
pdf.name = ChromeContentClient::kPDFPluginName; |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kOutOfProcessPdf)) { |
+ if (switches::OutOfProcessPdfEnabled()) { |
pdf.is_out_of_process = true; |
content::WebPluginMimeType pdf_mime_type(kPDFPluginOutOfProcessMimeType, |
kPDFPluginExtension, |