Skip to content

Commit

Permalink
3583239: Pass max uint value for end of open page range
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed May 17, 2022
1 parent a325889 commit 0cbfd33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shell/browser/printing/print_view_manager_electron.cc
Expand Up @@ -80,6 +80,8 @@ std::string PrintViewManagerElectron::PrintResultToString(PrintResult result) {
return "The previous printing job hasn't finished";
case PAGE_RANGE_SYNTAX_ERROR:
return "Page range syntax error";
case PAGE_RANGE_INVALID_RANGE:
return "Page range is invalid (start > end)";
case PAGE_COUNT_EXCEEDED:
return "Page range exceeds page count";
default:
Expand Down
1 change: 1 addition & 0 deletions shell/browser/printing/print_view_manager_electron.h
Expand Up @@ -35,6 +35,7 @@ class PrintViewManagerElectron
METAFILE_GET_DATA_ERROR,
SIMULTANEOUS_PRINT_ACTIVE,
PAGE_RANGE_SYNTAX_ERROR,
PAGE_RANGE_INVALID_RANGE,
PAGE_COUNT_EXCEEDED,
};

Expand Down

0 comments on commit 0cbfd33

Please sign in to comment.