forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant fields from WebPrintParams.
paper_size_in_css_pixels can be removed because default_page_description already contains the page box size. print_content_area_in_css_pixels can be removed because the page area can be deduced by subtracting the margins in default_page_description from the page box size. The page area offset part of this field was always set to 0,0 in PrintRenderFrameHelper, by the way. Change-Id: Ib0d32b1089ff0e3e699fafa453f48b1228959c36 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4858744 Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Derek Schuff <dschuff@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#1195892}
- Loading branch information
Showing
5 changed files
with
19 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters