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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.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: chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.cc b/chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.cc
index 987077be01d2b7a690c8683d24ec5ac1872aab13..a7ef731c8899de0ce6f22518261bb6deda1a61f7 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.cc
@@ -88,10 +88,9 @@ void ManagePasswordsBubbleUIController::OnBlacklistBlockedAutofill() {
UpdateBubbleAndIconVisibility();
}
-void ManagePasswordsBubbleUIController::WebContentsDestroyed(
- content::WebContents* web_contents) {
+void ManagePasswordsBubbleUIController::WebContentsDestroyed() {
password_manager::PasswordStore* password_store =
- GetPasswordStore(web_contents);
+ GetPasswordStore(web_contents());
if (password_store)
password_store->RemoveObserver(this);
}

Powered by Google App Engine
This is Rietveld 408576698