diff options
Diffstat (limited to 'chrome/browser/cocoa/toolbar_controller_unittest.mm')
-rw-r--r-- | chrome/browser/cocoa/toolbar_controller_unittest.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller_unittest.mm b/chrome/browser/cocoa/toolbar_controller_unittest.mm index dab5cba..7c718c4 100644 --- a/chrome/browser/cocoa/toolbar_controller_unittest.mm +++ b/chrome/browser/cocoa/toolbar_controller_unittest.mm @@ -135,7 +135,7 @@ TEST_F(ToolbarControllerTest, FocusLocation) { NSWindow* window = test_window(); [window makeFirstResponder:[window contentView]]; EXPECT_EQ([window firstResponder], [window contentView]); - [bar_ focusLocationBar]; + [bar_ focusLocationBar:YES]; EXPECT_NE([window firstResponder], [window contentView]); NSView* locationBar = [[bar_ toolbarViews] objectAtIndex:kLocationIndex]; EXPECT_EQ([window firstResponder], [(id)locationBar currentEditor]); |