summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/controls/menu/menu.h2
-rw-r--r--views/controls/menu/menu_win.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/menu/menu.h b/views/controls/menu/menu.h
index 0017ac1..04da77a 100644
--- a/views/controls/menu/menu.h
+++ b/views/controls/menu/menu.h
@@ -182,7 +182,7 @@ class Menu {
// Creates a new menu with the contents of the system menu for the given
// parent window. The caller owns the returned pointer.
- static Menu* GetSystemMenu(gfx::NativeView parent);
+ static Menu* GetSystemMenu(gfx::NativeWindow parent);
void set_delegate(Delegate* delegate) { delegate_ = delegate; }
Delegate* delegate() const { return delegate_; }
diff --git a/views/controls/menu/menu_win.cc b/views/controls/menu/menu_win.cc
index 84c3fac..1c27d85 100644
--- a/views/controls/menu/menu_win.cc
+++ b/views/controls/menu/menu_win.cc
@@ -237,7 +237,7 @@ Menu* Menu::Create(Delegate* delegate,
}
// static
-Menu* Menu::GetSystemMenu(gfx::NativeView parent) {
+Menu* Menu::GetSystemMenu(gfx::NativeWindow parent) {
return new views::MenuWin(::GetSystemMenu(parent, FALSE));
}