Index: chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm (revision 151481) |
+++ chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm (working copy) |
@@ -106,7 +106,7 @@ |
NOTREACHED(); |
return true; |
} |
- Browser* browser = browser::FindBrowserForController(&controller, NULL); |
+ Browser* browser = browser::FindBrowserWithWebContents(tab); |
chrome::ShowPageInfo(browser, tab, nav_entry->GetURL(), nav_entry->GetSSL(), |
true); |
return true; |