Chromium Code Reviews| Index: chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm |
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm b/chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm |
| index 4c0171648ed6e1e002a621158c2b8d4f54533975..21fec83802aa6c667a27746f28e5a2150225b70e 100644 |
| --- a/chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm |
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm |
| @@ -50,6 +50,8 @@ TEST_F(AutofillMainContainerTest, SubViews) { |
| NSArray* subviews = [view subviews]; |
| if ([view isKindOfClass:[NSScrollView class]]) { |
| hasDetailsContainer = true; |
| + } else if (view == [container_ saveInChromeTooltipForTesting]) { |
| + hasCheckboxTooltip = true; |
|
Robert Sesek
2013/12/02 17:16:53
nit: over-indented
groby-ooo-7-16
2013/12/02 20:41:57
Done.
|
| } else if ([subviews count] == 2) { |
| EXPECT_TRUE( |
| [[subviews objectAtIndex:0] isKindOfClass:[NSButton class]]); |
| @@ -59,8 +61,6 @@ TEST_F(AutofillMainContainerTest, SubViews) { |
| } else if ([view isKindOfClass:[NSImageView class]]) { |
| if (view == [container_ buttonStripImageForTesting]) |
| hasButtonStripImage = true; |
| - else if (view == [container_ saveInChromeTooltipForTesting]) |
| - hasCheckboxTooltip = true; |
| else |
| EXPECT_TRUE(false); // Unknown image view; should not be reachable. |
| } else if ([view isKindOfClass:[NSTextView class]]) { |