| Index: chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm b/chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm
|
| index 1e3e7455d6ac286ec53afa43a249fe64d835d6a8..26572c6e2fb2308e3c3c8600457e1a52e9aa9fb6 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm
|
| @@ -26,7 +26,7 @@
|
|
|
| // Defined in the AvatarButtonController implementation.
|
| @interface AvatarButtonController (ExposedForTesting)
|
| -- (void)updateErrorStatus:(BOOL)hasError;
|
| +- (void)setErrorStatus:(BOOL)hasError;
|
| @end
|
|
|
| // Subclassing AvatarButtonController to be able to control the state of
|
| @@ -102,7 +102,7 @@ TEST_F(AvatarButtonControllerTest, ProfileButtonWithErrorShown) {
|
| testing_profile_manager()->CreateTestingProfile("batman");
|
|
|
| EXPECT_EQ(0, [button() image].size.width);
|
| - [controller() updateErrorStatus:true];
|
| + [controller() setErrorStatus:true];
|
|
|
| ASSERT_FALSE([view() isHidden]);
|
| EXPECT_NSEQ(@"Person 1", [button() title]);
|
|
|