| Index: chrome/browser/extensions/component_loader.cc
|
| diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc
|
| index 74d4a4efbe8d9dce9179a1e0569ca391743b68aa..4aa2227e9683948de45db5d6b774fb37958d78c9 100644
|
| --- a/chrome/browser/extensions/component_loader.cc
|
| +++ b/chrome/browser/extensions/component_loader.cc
|
| @@ -624,7 +624,7 @@ void ComponentLoader::AddDefaultComponentExtensionsWithBackgroundPages(
|
| base::FilePath pdf_path;
|
| content::PluginService* plugin_service =
|
| content::PluginService::GetInstance();
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kOutOfProcessPdf) &&
|
| + if (switches::OutOfProcessPdfEnabled() &&
|
| PathService::Get(chrome::FILE_PDF_PLUGIN, &pdf_path) &&
|
| plugin_service->GetRegisteredPpapiPluginInfo(pdf_path)) {
|
| Add(IDR_PDF_MANIFEST, base::FilePath(FILE_PATH_LITERAL("pdf")));
|
|
|