diff options
Diffstat (limited to 'android_webview/native/aw_contents_io_thread_client_impl.cc')
-rw-r--r-- | android_webview/native/aw_contents_io_thread_client_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 c863971..555cd83 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; } |