Index: chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm b/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm |
index 58060e247f6c95187b530286d1894ae415b370a4..ac680f792a57b05833f51447e492e0b25838501e 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm |
@@ -7,6 +7,7 @@ |
#include "base/sys_string_conversions.h" |
#import "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h" |
#include "chrome/browser/ui/browser.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#import "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" |
#include "content/public/browser/navigation_controller.h" |
#include "content/public/browser/navigation_entry.h" |
@@ -104,7 +105,7 @@ bool LocationIconDecoration::OnMousePressed(NSRect frame) { |
NOTREACHED(); |
return true; |
} |
- Browser* browser = Browser::GetBrowserForController(&controller, NULL); |
+ Browser* browser = browser::FindBrowserForController(&controller, NULL); |
browser->ShowPageInfo(tab, nav_entry->GetURL(), nav_entry->GetSSL(), true); |
return true; |
} |