Chromium Code Reviews| Index: views/controls/menu/menu_item_view_gtk.cc |
| =================================================================== |
| --- views/controls/menu/menu_item_view_gtk.cc (revision 74231) |
| +++ views/controls/menu/menu_item_view_gtk.cc (working copy) |
| @@ -41,7 +41,7 @@ |
| bool render_selection = |
| (!for_drag && IsSelected() && |
| parent_menu_item_->GetSubmenu()->GetShowSelection(this) && |
| - GetChildViewCount() == 0); |
| + !has_children()); |
| int icon_x = config.item_left_margin; |
| int top_margin = GetTopMargin(); |