win: Fix compilation error.

This commit is contained in:
Cheng Zhao 2014-07-21 20:45:31 +08:00
parent 0ca33dc6b8
commit ffad6fe884
2 changed files with 0 additions and 2 deletions

View file

@ -48,7 +48,6 @@ void MenuDelegate::RunMenu(ui::MenuModel* model, views::MenuButton* button) {
views::MenuItemView* MenuDelegate::BuildMenu(ui::MenuModel* model) {
DCHECK_GE(id_, 0);
DCHECK_LT(id_, items_.size());
if (!items_[id_]) {
views::MenuModelAdapter* delegate = new views::MenuModelAdapter(model);

View file

@ -5,7 +5,6 @@
#include "atom/browser/ui/win/notify_icon.h"
#include "atom/browser/ui/win/notify_icon_host.h"
#include "atom/browser/ui/win/menu_2.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/win/windows_version.h"