| Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| index 4e706add01f95e8234c1ade429b9ef996cc46e3a..9f062e9672722e9a48cd1964fa0e4cbe4996f09a 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -1445,8 +1445,8 @@ void LocationBarView::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;
|
| }
|
|
|