| Index: chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
|
| diff --git a/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc b/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
|
| index b4bc1293f0b6f003ee3c81074404f5688a83fc7f..fb35ebb2b5c7aab85ab9f0004f38beec859ceaa7 100644
|
| --- a/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
|
| +++ b/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
|
| @@ -172,7 +172,8 @@ TEST_F(ChromePasswordManagerClientTest, AnswerToPingsAboutLoggingState_Active) {
|
|
|
| // Ping the client for logging activity update.
|
| AutofillHostMsg_PasswordAutofillAgentConstructed msg(0);
|
| - static_cast<IPC::Listener*>(GetClient())->OnMessageReceived(msg);
|
| + static_cast<content::WebContentsObserver*>(GetClient())->OnMessageReceived(
|
| + msg, web_contents()->GetMainFrame());
|
|
|
| bool logging_active = false;
|
| EXPECT_TRUE(WasLoggingActivationMessageSent(&logging_active));
|
| @@ -187,7 +188,8 @@ TEST_F(ChromePasswordManagerClientTest,
|
|
|
| // Ping the client for logging activity update.
|
| AutofillHostMsg_PasswordAutofillAgentConstructed msg(0);
|
| - static_cast<IPC::Listener*>(GetClient())->OnMessageReceived(msg);
|
| + static_cast<content::WebContentsObserver*>(GetClient())->OnMessageReceived(
|
| + msg, web_contents()->GetMainFrame());
|
|
|
| bool logging_active = true;
|
| EXPECT_TRUE(WasLoggingActivationMessageSent(&logging_active));
|
|
|