Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: ui/app_list/views/app_list_menu_views.cc

Issue 14696007: Warn on missing OVERRIDE/virtual everywhere, not just in header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new regressions, attempt 3 Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/clang/scripts/plugin_flags.sh ('k') | ui/gfx/image/image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_menu_views.cc
diff --git a/ui/app_list/views/app_list_menu_views.cc b/ui/app_list/views/app_list_menu_views.cc
index 72437568410087464046fa4a57038c04f91a1cba..1d8a4e402aac053b2d9d81f8baa29cc0b182366e 100644
--- a/ui/app_list/views/app_list_menu_views.cc
+++ b/ui/app_list/views/app_list_menu_views.cc
@@ -94,9 +94,9 @@ class AppListMenuModelAdapter : public views::MenuModelAdapter {
virtual ~AppListMenuModelAdapter() {}
// Overridden from views::MenuModelAdapter:
- MenuItemView* AppendMenuItem(MenuItemView* menu,
- ui::MenuModel* model,
- int index) OVERRIDE {
+ virtual MenuItemView* AppendMenuItem(MenuItemView* menu,
+ ui::MenuModel* model,
+ int index) OVERRIDE {
if (!delegate_)
return NULL;
« no previous file with comments | « tools/clang/scripts/plugin_flags.sh ('k') | ui/gfx/image/image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698