[Paint Preview] Remove on tab switch
This CL removes the paint preview when the tab is hidden for any reason other than the activity being hidden. This should hopefully avoid possible memory leaks by keeping the preview active for hidden tabs that didn't finish loading. Change-Id: Ibbc66d7e9303592be4e933a37490a6ead0bcb6ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2416770 Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org> Reviewed-by:Mehran Mahmoudi <mahmoudi@chromium.org> Cr-Commit-Position: refs/heads/master@{#808011}
Showing
Please register or sign in to comment