Fix crash in WebContentsAccessibility
WebContentsAccessibility as the implementation of AccessibilityNodeProvider can get |createAccessibilityNodeInfo| even past the WebContents finished its lifecycle. In such case mWebContents should be null-checked to prevent crash. This CL puts the missing check that caused the reported crash. Bug: 806033 Change-Id: Ic80a6fd7d6289aab332a60221cd3c7a1c93d12c8 Reviewed-on: https://chromium-review.googlesource.com/887698Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Cr-Commit-Position: refs/heads/master@{#532300}
Showing
Please register or sign in to comment