Index: chrome/browser/ui/views/location_bar/page_action_image_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/page_action_image_view.cc b/chrome/browser/ui/views/location_bar/page_action_image_view.cc |
index 793f524a316cd04d89d2b246ea92d27c857c381d..bc0cc1c6173927f0b6d551d61c0611007d0be7d5 100644 |
--- a/chrome/browser/ui/views/location_bar/page_action_image_view.cc |
+++ b/chrome/browser/ui/views/location_bar/page_action_image_view.cc |
@@ -147,6 +147,10 @@ views::View* PageActionImageView::GetReferenceViewForPopup() { |
return this; |
} |
+views::MenuButton* PageActionImageView::GetContextMenuButton() { |
+ return NULL; // No menu button for page action views. |
+} |
+ |
content::WebContents* PageActionImageView::GetCurrentWebContents() { |
return owner_->GetWebContents(); |
} |