Index: chrome/browser/password_manager/password_form_manager.h |
diff --git a/chrome/browser/password_manager/password_form_manager.h b/chrome/browser/password_manager/password_form_manager.h |
index 8de86a10bff565810f00d40a63c1cc0604534949..f12141903496c7991ae53eb993e4903c7c767868 100644 |
--- a/chrome/browser/password_manager/password_form_manager.h |
+++ b/chrome/browser/password_manager/password_form_manager.h |
@@ -16,7 +16,7 @@ |
#include "webkit/forms/password_form.h" |
namespace content { |
-class RenderViewHost; |
+class WebContents; |
} // namespace content |
class PasswordManager; |
@@ -35,7 +35,7 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// used to filter login results from database. |
PasswordFormManager(Profile* profile, |
PasswordManager* password_manager, |
- content::RenderViewHost* host, |
+ content::WebContents* web_contents, |
const webkit::forms::PasswordForm& observed_form, |
bool ssl_valid); |
virtual ~PasswordFormManager(); |
@@ -243,8 +243,9 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// The profile from which we get the PasswordStore. |
Profile* profile_; |
- // Render view host for sending messages to the corresponding renderer. |
- content::RenderViewHost* host_; |
+ // Web contents from which we get the RenderViewHost for sending messages to |
+ // the corresponding renderer. |
+ content::WebContents* web_contents_; |
// These three fields record the "ActionsTaken" by the browser and |
// the user with this form, and the result. They are combined and |