| 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 6dc0672f095d480832e2408ae381ad3b008996a1..cb35ecab9d67b144875b262c9ca47ea86ee804a4 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
|
| @@ -37,7 +37,10 @@ class ManagePasswordsBubbleCocoaTest : public CocoaProfileTest {
|
|
|
| // Create the test UIController here so that it's bound to
|
| // |test_web_contents_| and therefore accessible to the model.
|
| - new ManagePasswordsUIControllerMock(webContents_);
|
| + ManagePasswordsUIControllerMock* ui_controller =
|
| + new ManagePasswordsUIControllerMock(webContents_);
|
| + // Set the initial state.
|
| + ui_controller->SetState(password_manager::ui::PENDING_PASSWORD_STATE);
|
| }
|
|
|
| content::WebContents* webContents() { return webContents_; }
|
|
|