build: fix build with enable_printing=false (#26597)
This commit is contained in:
parent
06158b3e94
commit
b4196ca486
1 changed files with 2 additions and 0 deletions
|
@ -59,7 +59,9 @@ printing::PrinterList GetPrinterList() {
|
|||
|
||||
namespace {
|
||||
|
||||
#if BUILDFLAG(ENABLE_PRINTING)
|
||||
using electron::api::GetPrinterList;
|
||||
#endif
|
||||
|
||||
void Initialize(v8::Local<v8::Object> exports,
|
||||
v8::Local<v8::Value> unused,
|
||||
|
|
Loading…
Reference in a new issue