Null out the WebWidgetClient in WebViewImpl::Close().
We null away the WebViewClient already, but once the WebWidget parts are closed we want to accept the RenderWidget (ie WebWidgetClient) being destroyed. So drop the pointer to the WebWidgetClient when the main frame is detached from Close(). R=dcheng@chromium.org Bug: 912193 Change-Id: Ib4e0916c5e4cefaf49cb529135d38010809c3ea0 Reviewed-on: https://chromium-review.googlesource.com/c/1454135 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#629602}
Showing
Please register or sign in to comment