diff --git a/shell/renderer/renderer_client_base.cc b/shell/renderer/renderer_client_base.cc index ba4676bf7877..77e766cd2b45 100644 --- a/shell/renderer/renderer_client_base.cc +++ b/shell/renderer/renderer_client_base.cc @@ -361,11 +361,8 @@ bool RendererClientBase::IsPluginHandledExternally( bool RendererClientBase::IsOriginIsolatedPepperPlugin( const base::FilePath& plugin_path) { -#if BUILDFLAG(ENABLE_PDF_VIEWER) - return plugin_path.value() == kPdfPluginPath; -#else - return false; -#endif + // Isolate all Pepper plugins, including the PDF plugin. + return true; } std::unique_ptr