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 30cdd6c86761bc4f485f4d7c5836436321c7e64b..217557fe33238cc5d454e12bd02f64e64943a777 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -1650,9 +1650,9 @@ void ContentViewCoreImpl::OnSmartClipDataExtracted( |
env, obj.obj(), jresult.obj()); |
} |
-void ContentViewCoreImpl::WebContentsDestroyed(WebContents* web_contents) { |
+void ContentViewCoreImpl::WebContentsDestroyed() { |
WebContentsViewAndroid* wcva = |
- static_cast<WebContentsViewAndroid*>(web_contents->GetView()); |
+ static_cast<WebContentsViewAndroid*>(web_contents()->GetView()); |
DCHECK(wcva); |
wcva->SetContentViewCore(NULL); |
} |