diff options
-rw-r--r-- | chrome/views/chrome_menu.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/views/chrome_menu.cc b/chrome/views/chrome_menu.cc index 6b1483c..10b1894 100644 --- a/chrome/views/chrome_menu.cc +++ b/chrome/views/chrome_menu.cc @@ -1078,7 +1078,8 @@ const int MenuItemView::kMenuItemViewID = 1001; bool MenuItemView::allow_task_nesting_during_run_ = false; MenuItemView::MenuItemView(MenuDelegate* delegate) { - DCHECK(delegate_); + // NOTE: don't check the delegate for NULL, UpdateMenuPartSizes supplies a + // NULL delegate. Init(NULL, 0, SUBMENU, delegate); } |