[WebView] Add test for visual state API when view dettached.
Calling the visual state API when the container view is dettached must draw the contents correctly when the callback is received. We add a test for that. We also fix a possible crash if the container view is dettached after insertVisualStateCallback has been called but before the callback has been received. Original author igsolla@chromium.org BUG=461369, 457184 Review URL: https://codereview.chromium.org/972013003 Cr-Commit-Position: refs/heads/master@{#319112}
Showing
Please register or sign in to comment