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

Unified Diff: ui/views/controls/menu/menu_separator_views.cc

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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
Index: ui/views/controls/menu/menu_separator_views.cc
diff --git a/ui/views/controls/menu/menu_separator_views.cc b/ui/views/controls/menu/menu_separator_views.cc
index 61941366540d271ba7ce645b57372bda6be961f6..679e04b66e3868d981c245fa26ae6734ea1adbcf 100644
--- a/ui/views/controls/menu/menu_separator_views.cc
+++ b/ui/views/controls/menu/menu_separator_views.cc
@@ -17,6 +17,8 @@ const int kSeparatorHeight = 1;
namespace views {
+MenuSeparator::MenuSeparator(ui::MenuSeparatorType type) : type_(type) {}
+
#if !defined(OS_WIN)
void MenuSeparator::OnPaint(gfx::Canvas* canvas) {
OnPaintAura(canvas);

Powered by Google App Engine
This is Rietveld 408576698