Chromium Code Reviews
DescriptionFix viewport unit sizes when printing.
FrameView::viewportSizeForViewportUnits had a special path for inert top
controls that used FrameView::layoutSize directly. The old path used
LayoutView::viewWidth and LayoutView::viewHeight which normally resolve to
FrameView::layoutSize but has a special case for when we're in printing mode.
This patch uses the LayoutView version and only special cases the adjustment
made for the URL bar.
BUG=678414
Review-Url: https://codereview.chromium.org/2643903002
Cr-Commit-Position: refs/heads/master@{#444803}
(cherry picked from commit b9d998089be2a4ee8a304730a814386168f84641)
Review-Url: https://codereview.chromium.org/2650473003 .
Cr-Commit-Position: refs/branch-heads/2924@{#820}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}
Committed: https://chromium.googlesource.com/chromium/src/+/5246d47f2bb96bea8d40a2838c1a018e1ce53325
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||