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(
|
bool RendererClientBase::IsOriginIsolatedPepperPlugin(
|
||||||
const base::FilePath& plugin_path) {
|
const base::FilePath& plugin_path) {
|
||||||
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
// Isolate all Pepper plugins, including the PDF plugin.
|
||||||
return plugin_path.value() == kPdfPluginPath;
|
return true;
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<blink::WebPrescientNetworking>
|
std::unique_ptr<blink::WebPrescientNetworking>
|
||||||
|
|
Loading…
Reference in a new issue