Index: views/controls/menu/menu_item_view.h |
diff --git a/views/controls/menu/menu_item_view.h b/views/controls/menu/menu_item_view.h |
index 1403729e0d786a0be626072839b6bc3292b2b81a..b4358f68ad8aeaf7420e5dca25cbd26f2891584b 100644 |
--- a/views/controls/menu/menu_item_view.h |
+++ b/views/controls/menu/menu_item_view.h |
@@ -322,10 +322,7 @@ class MenuItemView : public View { |
// Set top and bottom margins in pixels. If no margin is set or a |
// negative margin is specified then MenuConfig values are used. |
- void set_margins(int top_margin, int bottom_margin) { |
- top_margin_ = top_margin; |
- bottom_margin_ = bottom_margin; |
- } |
+ void SetMargins(int top_margin, int bottom_margin); |
// Set the position of the menu with respect to the bounds (top |
// level only). |