Skip to content

Commit

Permalink
3029185: printing: Use mojom::PrinterType instead of PrinterType
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jul 16, 2021
1 parent 96d8248 commit d16fab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/api/electron_api_web_contents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2517,7 +2517,7 @@ void WebContents::Print(gin::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,
static_cast<int>(printing::PrinterType::kLocal));
static_cast<int>(printing::mojom::PrinterType::kLocal));
settings.SetBoolKey(printing::kSettingShouldPrintSelectionOnly, false);
settings.SetBoolKey(printing::kSettingRasterizePdf, false);

Expand Down

0 comments on commit d16fab7

Please sign in to comment.