No more need to override Menu::Popup

This commit is contained in:
Cheng Zhao 2016-01-22 11:27:17 -07:00
parent 0e3a3d0748
commit ca77c95c6d
6 changed files with 5 additions and 11 deletions

View file

@ -16,10 +16,6 @@ namespace api {
MenuViews::MenuViews() {
}
void MenuViews::Popup(Window* window) {
PopupAt(window, -1, -1, 0);
}
void MenuViews::PopupAt(Window* window, int x, int y, int positioning_item) {
NativeWindow* native_window = static_cast<NativeWindow*>(window->window());
if (!native_window)