[go: nahoru, domu]

Printing (Windows only): Fix issue with custom paper sizes

Setting the paper size by ID does not work for custom user sizes, which
have values >= DMPAPER_USER = 256. Set the width and length directly in
these cases.

Bug: None
Change-Id: I7c23c656920ac6287c680e2408554c5da716871d
Reviewed-on: https://chromium-review.googlesource.com/690698
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#505421}
1 file changed