DescriptionFix incorrect print preview clipping
After https://codereview.chromium.org/2690583002 landed, it changed
a number of SkPicture::playback calls to SkCanvas::drawPicture calls
which also include a clip rect. (See link for reasons why.)
WebLocalFrameImpl set an unscaled and untranslated SkPicture rect size,
which caused pages that were not at the origin to be clipped. This
patch adjusts the rect on the recorder so that pages are not
accidentally culled.
BUG=700305
Review-Url: https://codereview.chromium.org/2743143002
Cr-Commit-Position: refs/heads/master@{#456465}
Committed: https://chromium.googlesource.com/chromium/src/+/3c66c935afbaa133537402a41bd619f79920d3ed
Patch Set 1 #
Messages
Total messages: 13 (7 generated)
|