| Index: android_webview/native/aw_contents_io_thread_client_impl.cc
|
| diff --git a/android_webview/native/aw_contents_io_thread_client_impl.cc b/android_webview/native/aw_contents_io_thread_client_impl.cc
|
| index c863971242017c0ee15813f9a821a1e39d667c8a..555cd83cb08e0545e879318b4c03670516f74aef 100644
|
| --- a/android_webview/native/aw_contents_io_thread_client_impl.cc
|
| +++ b/android_webview/native/aw_contents_io_thread_client_impl.cc
|
| @@ -112,7 +112,7 @@ class ClientMapEntryUpdater : public content::WebContentsObserver {
|
|
|
| virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE;
|
| virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) OVERRIDE;
|
| - virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE;
|
| + virtual void WebContentsDestroyed() OVERRIDE;
|
|
|
| private:
|
| JavaObjectWeakGlobalRef jdelegate_;
|
| @@ -142,7 +142,7 @@ void ClientMapEntryUpdater::RenderFrameDeleted(RenderFrameHost* rfh) {
|
| RfhToIoThreadClientMap::GetInstance()->Erase(GetRenderFrameHostIdPair(rfh));
|
| }
|
|
|
| -void ClientMapEntryUpdater::WebContentsDestroyed(WebContents* web_contents) {
|
| +void ClientMapEntryUpdater::WebContentsDestroyed() {
|
| delete this;
|
| }
|
|
|
|
|