build: fix build with enable_printing=false (#26597)

This commit is contained in:
Milan Burda 2020-11-19 16:05:49 +01:00 committed by GitHub
parent 06158b3e94
commit b4196ca486
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,