fix: running tests with release build (#31092)
This commit is contained in:
parent
c377fe4ba6
commit
98ac0ca52a
7 changed files with 16 additions and 28 deletions
|
@ -170,7 +170,6 @@ void MenuMac::ClosePopupAt(int32_t window_id) {
|
|||
std::move(close_popup));
|
||||
}
|
||||
|
||||
#if DCHECK_IS_ON()
|
||||
std::u16string MenuMac::GetAcceleratorTextAtForTesting(int index) const {
|
||||
// A least effort to get the real shortcut text of NSMenuItem, the code does
|
||||
// not need to be perfect since it is test only.
|
||||
|
@ -206,7 +205,6 @@ std::u16string MenuMac::GetAcceleratorTextAtForTesting(int index) const {
|
|||
text += key;
|
||||
return text;
|
||||
}
|
||||
#endif
|
||||
|
||||
void MenuMac::ClosePopupOnUI(int32_t window_id) {
|
||||
auto controller = popup_controllers_.find(window_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue