weblayer: Fix crash on recreate on rotation
There is a crash if activity is recreated on rotation and the weblayer fragment is also destroyed and recreated. This is introduced in the CL that that keeps visibility across activities when fragment is retained: https://chromium-review.googlesource.com/c/chromium/src/+/2216311 Add a test to catch this. Reported in b/158864549 Change-Id: I51c43b102ea995fa5387df420bf0a7844670af71 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2252952Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#780113}
Showing
Please register or sign in to comment