chore: bump chromium to 8f405dc5d5e416ffaf640aa3d088a (master) (#23107)

Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
This commit is contained in:
Electron Bot
2020-04-14 17:14:38 -07:00
committed by GitHub
parent f395775eb1
commit e145fcb3f0
18 changed files with 99 additions and 100 deletions

View File

@@ -1981,7 +1981,8 @@ void WebContents::Print(gin_helper::Arguments* args) {
// We don't want to allow the user to enable these settings
// but we need to set them or a CHECK is hit.
settings.SetIntKey(printing::kSettingPrinterType, printing::kLocalPrinter);
settings.SetIntKey(printing::kSettingPrinterType,
static_cast<int>(printing::PrinterType::kLocal));
settings.SetBoolKey(printing::kSettingShouldPrintSelectionOnly, false);
settings.SetBoolKey(printing::kSettingRasterizePdf, false);