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 d742338ed3866c80fe920a11ca4f4cb6fd260849..e314fe33c65697523466854d2eb9ffce7870ec3c 100644 |
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
@@ -1475,7 +1475,7 @@ LocationBarViewGtk::PageActionViewGtk::~PageActionViewGtk() { |
} |
void LocationBarViewGtk::PageActionViewGtk::UpdateVisibility( |
- TabContents* contents, GURL url) { |
+ TabContents* contents, const GURL& url) { |
// Save this off so we can pass it back to the extension when the action gets |
// executed. See PageActionImageView::OnMousePressed. |
current_tab_id_ = contents ? ExtensionTabUtil::GetTabId(contents) : -1; |