Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Unified Diff: content/browser/android/content_view_core_impl.cc

Issue 257153003: We have a problem in the process on destroying WebContentsImpl because (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Rebased onto origin/lkgr Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698