summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-23 01:59:31 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-23 01:59:31 +0000
commit9e77aca658c3d9360fbf183beb249f713a03fcd8 (patch)
treeea164e5242f3b477494e706a4072ef23b63c3825 /chrome/browser/cocoa
parenta26dc3692818f34a1bb5341931ac2cd26819bb09 (diff)
downloadchromium_src-9e77aca658c3d9360fbf183beb249f713a03fcd8.zip
chromium_src-9e77aca658c3d9360fbf183beb249f713a03fcd8.tar.gz
chromium_src-9e77aca658c3d9360fbf183beb249f713a03fcd8.tar.bz2
Attempt to fix Mac build
BUG=41466 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45407 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r--chrome/browser/cocoa/toolbar_controller_unittest.mm2
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]);