fix: when building with enable_pdf_viewer = false (#22604)
This commit is contained in:
parent
bf75e5a91f
commit
b081fc3ac3
1 changed files with 4 additions and 0 deletions
|
@ -389,7 +389,11 @@ bool RendererClientBase::IsPluginHandledExternally(
|
||||||
|
|
||||||
bool RendererClientBase::IsOriginIsolatedPepperPlugin(
|
bool RendererClientBase::IsOriginIsolatedPepperPlugin(
|
||||||
const base::FilePath& plugin_path) {
|
const base::FilePath& plugin_path) {
|
||||||
|
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
||||||
return plugin_path.value() == kPdfPluginPath;
|
return plugin_path.value() == kPdfPluginPath;
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<blink::WebPrescientNetworking>
|
std::unique_ptr<blink::WebPrescientNetworking>
|
||||||
|
|
Loading…
Reference in a new issue