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); |
} |