| Index: chrome/browser/tab_contents/tab_contents_view_mac.mm
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents_view_mac.mm (revision 15016)
|
| +++ chrome/browser/tab_contents/tab_contents_view_mac.mm (working copy)
|
| @@ -107,9 +107,10 @@
|
| }
|
|
|
| void TabContentsViewMac::SetInitialFocus() {
|
| - // TODO(port): Set focus in the else case correctly.
|
| if (web_contents()->FocusLocationBarByDefault())
|
| web_contents()->delegate()->SetFocusToLocationBar();
|
| + else
|
| + [[cocoa_view_.get() window] makeFirstResponder:GetContentNativeView()];
|
| }
|
|
|
| void TabContentsViewMac::StoreFocus() {
|
|
|