Start bitmap capturing after native init if the tab is loaded
Bitmap capturing is enabled in ActivityTabProvider.ActivityTabTabObserver methods: - onUrlUpdated (called when the URL is updated) - onShown (called when a tab is selected from the tab switcher) These methods aren't called when returning to a tab from a theme change. If the URL isn't updated and the tab isn't selected through the tab switcher, the bitmap capturing won't be enabled. This change supports bitmap capture when swiping through tabs after changing the theme. Bug: 1091643 Change-Id: Ife285cac48c20c3db4f7450800bba7cec2d27db2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2236070 Commit-Queue: Brandon Wylie <wylieb@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Reviewed-by:
Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/master@{#778409}
Showing
Please register or sign in to comment