| Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| index 821460f39a4db14f5c5d0747fd6351e5f0fde239..f3c72cc008676aa7ee18adc7bdf97237dd388417 100644
|
| --- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| @@ -1081,9 +1081,8 @@ void LocationBarViewGtk::Observe(int type,
|
| switch (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;
|
| }
|
|
|