| Index: ui/views/controls/menu/menu_separator.h
|
| ===================================================================
|
| --- ui/views/controls/menu/menu_separator.h (revision 160892)
|
| +++ ui/views/controls/menu/menu_separator.h (working copy)
|
| @@ -11,13 +11,9 @@
|
|
|
| namespace views {
|
|
|
| -class MenuItemView;
|
| -
|
| class MenuSeparator : public View {
|
| public:
|
| - MenuSeparator(MenuItemView* parent, ui::MenuSeparatorType type)
|
| - : type_(type),
|
| - parent_menu_item_(parent) {}
|
| + explicit MenuSeparator(ui::MenuSeparatorType type) : type_(type) {}
|
|
|
| // View overrides.
|
| virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
|
| @@ -27,9 +23,6 @@
|
| // The type of the separator.
|
| const ui::MenuSeparatorType type_;
|
|
|
| - // Our parent.
|
| - MenuItemView* parent_menu_item_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(MenuSeparator);
|
| };
|
|
|
|
|