fix: isolate Pepper plugins (#28332)
This commit is contained in:
parent
d93690ccdc
commit
89df6b98da
1 changed files with 2 additions and 5 deletions
|
@ -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<blink::WebPrescientNetworking>
|
||||
|
|
Loading…
Reference in a new issue