Index: content/browser/android/content_view_core_impl.cc |
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
index 9206763125df51077b37495c618fb0e30b258341..c86f729bc5557b0dcdb180c1bc86c6769a622b27 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -1668,9 +1668,9 @@ void ContentViewCoreImpl::OnSmartClipDataExtracted( |
env, obj.obj(), jresult.obj()); |
} |
-void ContentViewCoreImpl::WebContentsDestroyed(WebContents* web_contents) { |
+void ContentViewCoreImpl::WebContentsDestroyed() { |
WebContentsViewAndroid* wcva = static_cast<WebContentsViewAndroid*>( |
- static_cast<WebContentsImpl*>(web_contents)->GetView()); |
+ static_cast<WebContentsImpl*>(web_contents())->GetView()); |
DCHECK(wcva); |
wcva->SetContentViewCore(NULL); |
} |