Account for margin in native page snapshot
Use the native page's margin to translate the canvas used to capture the bitmap used in the tab switcher. Without explicitly considering margin, the snapshot is actually shorter than the tab content, causing the content to "jump" when entering and exiting the tab switcher. BUG=832588 Change-Id: Ifdd871369341877c80214fbe767a602ee1f80d23 Reviewed-on: https://chromium-review.googlesource.com/1013132Reviewed-by:Changwan Ryu <changwan@chromium.org> Commit-Queue: Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#551043}
Showing
Please register or sign in to comment