| Index: views/controls/menu/menu_item_view_win.cc
|
| ===================================================================
|
| --- views/controls/menu/menu_item_view_win.cc (revision 74231)
|
| +++ views/controls/menu/menu_item_view_win.cc (working copy)
|
| @@ -30,7 +30,7 @@
|
| bool render_selection =
|
| (!for_drag && IsSelected() &&
|
| parent_menu_item_->GetSubmenu()->GetShowSelection(this) &&
|
| - GetChildViewCount() == 0);
|
| + !has_children());
|
| int state = render_selection ? MPI_HOT :
|
| (IsEnabled() ? MPI_NORMAL : MPI_DISABLED);
|
| HDC dc = canvas->BeginPlatformPaint();
|
|
|