Fix a failing test TabsTest#HideKeyboard
It is possible that a few android.view.View APIs are called after WebContents gets destroyed. This CL keeps them from accessing the destroyed instance by safeguarding it at ContentView where they pass through. Alternatively this could be done at embedder level (i.e. parent view of ContentView), but this approach reduces duplicated code. And re-enabled the disabled test. Bug: 821750 Change-Id: Ied55e7d36c589e6e7e324d081204c9a1294da7b2 Reviewed-on: https://chromium-review.googlesource.com/963149Reviewed-by:Ted Choc <tedchoc@chromium.org> Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Cr-Commit-Position: refs/heads/master@{#543249}
Showing
Please register or sign in to comment