|
@@ -119,8 +119,7 @@ void ElectronExtensionSystem::LoadComponentExtensions() {
|
|
|
root_directory = root_directory.Append(FILE_PATH_LITERAL("pdf"));
|
|
|
scoped_refptr<const Extension> pdf_extension =
|
|
|
extensions::Extension::Create(
|
|
|
- root_directory,
|
|
|
- extensions::mojom::ManifestLocation::kExternalComponent,
|
|
|
+ root_directory, extensions::mojom::ManifestLocation::kComponent,
|
|
|
*pdf_manifest, extensions::Extension::REQUIRE_KEY, &utf8_error);
|
|
|
extension_loader_->registrar()->AddExtension(pdf_extension);
|
|
|
}
|