| Index: chrome/browser/extensions/component_loader.cc
|
| diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc
|
| index 53309b21b92f12b16c0d6338d2230aa08344c4f0..fef22546992079343a10007f6656268681cca520 100644
|
| --- a/chrome/browser/extensions/component_loader.cc
|
| +++ b/chrome/browser/extensions/component_loader.cc
|
| @@ -621,12 +621,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
|
|
|