FOR_EACH_OBSERVER is removed
This commit is contained in:
parent
85749e4dbd
commit
e91eed6758
7 changed files with 123 additions and 98 deletions
|
@ -42,7 +42,8 @@ bool AtomMenuModel::GetAcceleratorAtWithParams(
|
|||
|
||||
void AtomMenuModel::MenuWillClose() {
|
||||
ui::SimpleMenuModel::MenuWillClose();
|
||||
FOR_EACH_OBSERVER(Observer, observers_, MenuWillClose());
|
||||
for (Observer& observer : observers_)
|
||||
observer.MenuWillClose();
|
||||
}
|
||||
|
||||
AtomMenuModel* AtomMenuModel::GetSubmenuModelAt(int index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue