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 907ce14d332146a76e1d9902e6331a7285701cd7..3d1434ed71bd02bcbb23d25b6a3417656fb1fa3f 100644 |
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
@@ -1682,11 +1682,6 @@ void LocationBarViewGtk::EnabledStateChangedForCommand(int id, bool enabled) { |
UpdateChromeToMobileIcon(); |
} |
-void LocationBarViewGtk::PageActionViewGtk::InspectPopup( |
- ExtensionAction* action) { |
- ShowPopup(true); |
-} |
- |
bool LocationBarViewGtk::PageActionViewGtk::ShowPopup(bool devtools) { |
if (!page_action_->HasPopup(current_tab_id_)) |
return false; |
@@ -1764,7 +1759,7 @@ gboolean LocationBarViewGtk::PageActionViewGtk::OnButtonPressed( |
if (extension->ShowConfigureContextMenus()) { |
context_menu_model_ = |
- new ExtensionContextMenuModel(extension, owner_->browser_, this); |
+ new ExtensionContextMenuModel(extension, owner_->browser_); |
context_menu_.reset( |
new MenuGtk(NULL, context_menu_model_.get())); |
context_menu_->PopupForWidget(sender, event->button, event->time); |