| Index: chrome/browser/extensions/component_loader.cc
|
| diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc
|
| index 3841dba2ef83476e45eb13b9c06b3ad01bfaf427..2ee48167a4bf1d1f95db2d82d0818b884ecc8c15 100644
|
| --- a/chrome/browser/extensions/component_loader.cc
|
| +++ b/chrome/browser/extensions/component_loader.cc
|
| @@ -626,12 +626,7 @@ void ComponentLoader::AddDefaultComponentExtensionsWithBackgroundPages(
|
| #endif // defined(GOOGLE_CHROME_BUILD)
|
|
|
| #if defined(ENABLE_PLUGINS)
|
| - base::FilePath pdf_path;
|
| - content::PluginService* plugin_service =
|
| - content::PluginService::GetInstance();
|
| - if (switches::OutOfProcessPdfEnabled() &&
|
| - PathService::Get(chrome::FILE_PDF_PLUGIN, &pdf_path) &&
|
| - plugin_service->GetRegisteredPpapiPluginInfo(pdf_path)) {
|
| + if (switches::OutOfProcessPdfEnabled()) {
|
| if (switches::PdfMaterialUIEnabled())
|
| Add(IDR_PDF_MANIFEST_MATERIAL, base::FilePath(FILE_PATH_LITERAL("pdf")));
|
| else
|
|
|