| Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| index 89be89dfd6ddffbb95db335ecef3c73a8400743b..cc608b20f22477e7321b63bb5d107f0f27719b3e 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| @@ -560,8 +560,8 @@ void LocationBarViewMac::Observe(int type,
|
|
|
| case chrome::NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED: {
|
| // Only update if the updated action box was for the active tab contents.
|
| - TabContents* target_tab = content::Details<TabContents>(details).ptr();
|
| - if (target_tab == GetTabContents())
|
| + WebContents* target_tab = content::Details<WebContents>(details).ptr();
|
| + if (target_tab == GetTabContents()->web_contents())
|
| UpdatePageActions();
|
| break;
|
| }
|
|
|