Index: chrome/browser/ui/passwords/manage_passwords_bubble_model.cc |
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc b/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc |
index d2473760db142a42fda759a7831dbccb29fa7a4a..f83dbb4bb8c5dce328ae3f556f66cf664272f626 100644 |
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc |
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc |
@@ -326,6 +326,10 @@ void ManagePasswordsBubbleModel::OnChooseCredentials( |
state_ = password_manager::ui::INACTIVE_STATE; |
} |
+Profile* ManagePasswordsBubbleModel::GetProfile() const { |
+ return GetProfileFromWebContents(web_contents()); |
+} |
+ |
// static |
int ManagePasswordsBubbleModel::UsernameFieldWidth() { |
return GetFieldWidth(USERNAME_FIELD); |