Index: chrome/browser/gtk/location_bar_view_gtk.cc |
diff --git a/chrome/browser/gtk/location_bar_view_gtk.cc b/chrome/browser/gtk/location_bar_view_gtk.cc |
index 1d8c7869eaeaa1b31d77a58326e1430bd99d540c..815bb2f4a08f8a5a4e20eff68426c882f8cc14c1 100644 |
--- a/chrome/browser/gtk/location_bar_view_gtk.cc |
+++ b/chrome/browser/gtk/location_bar_view_gtk.cc |
@@ -1217,8 +1217,10 @@ gboolean LocationBarViewGtk::PageActionViewGtk::OnButtonPressed( |
Extension* extension = profile_->GetExtensionsService()->GetExtensionById( |
page_action()->extension_id(), false); |
+ // TODO(rafaelw): support inspecting popups. |
if (!context_menu_model_.get()) |
- context_menu_model_.reset(new ExtensionActionContextMenuModel(extension)); |
+ context_menu_model_.reset(new ExtensionActionContextMenuModel(extension, |
+ page_action_, profile_->GetPrefs(), NULL)); |
context_menu_.reset( |
new MenuGtk(NULL, context_menu_model_.get())); |