build: fix build with context snapshot disabled (#24433)
build: fix build with context snapshot disabled (#24433)


bpasero/electron,gerhardberger/electron,electron/electron,bpasero/electron,gerhardberger/electron,seanchas116/electron,bpasero/electron,bpasero/electron,electron/electron,seanchas116/electron,gerhardberger/electron,bpasero/electron,electron/electron,gerhardberger/electron,electron/electron,bpasero/electron,electron/electron,gerhardberger/electron,gerhardberger/electron,electron/electron,seanchas116/electron,gerhardberger/electron,electron/electron,seanchas116/electron,bpasero/electron,seanchas116/electron,seanchas116/electron