| Index: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa_unittest.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa_unittest.mm
|
| index d48f748cece24a8c9674622e078027681637feeb..bd14004e339f48c8efc6cb8d263ff6755becea5d 100644
|
| --- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa_unittest.mm
|
| @@ -46,7 +46,10 @@ class ManagePasswordsBubbleCocoaTest : public CocoaProfileTest {
|
| browser()->tab_strip_model()->AppendWebContents(
|
| test_web_contents_, /*foreground=*/true);
|
| // Set the initial state.
|
| - ui_controller->SetState(password_manager::ui::PENDING_PASSWORD_STATE);
|
| + ScopedVector<autofill::PasswordForm> forms;
|
| + forms.push_back(new autofill::PasswordForm);
|
| + forms.back()->origin = GURL("http://example.com");
|
| + ui_controller->PretendSubmittedPassword(forms.Pass());
|
| }
|
|
|
| content::WebContents* CreateWebContents() {
|
|
|