Index: chrome/browser/cocoa/browser_window_controller.mm |
diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm |
index aa7b3251d0feb1b29e3cd59e37d2005eb828a5d8..45588f99eaf25c2c20a8a7e93a9e08592b979c42 100644 |
--- a/chrome/browser/cocoa/browser_window_controller.mm |
+++ b/chrome/browser/cocoa/browser_window_controller.mm |
@@ -346,7 +346,7 @@ |
return statusBubble_; |
} |
-- (LocationBar*)locationBarBridge { |
+- (LocationBarViewMac*)locationBarBridge { |
return [toolbarController_ locationBarBridge]; |
} |
@@ -1637,8 +1637,7 @@ willAnimateFromState:(bookmarks::VisualState)oldState |
if (toolbarCollapsed_ == collapsed) |
return; |
- static_cast<LocationBarViewMac*>([self locationBarBridge])-> |
- SetEditable(!collapsed); |
+ [self locationBarBridge]->SetEditable(!collapsed); |
// TODO(andybons): Actually hide toolbar if collapsed. |