mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Fix OS X build error.
This commit is contained in:
@@ -27,7 +27,7 @@ class TrayIconCocoa : public TrayIcon {
|
||||
void SetToolTip(const std::string& tool_tip) override;
|
||||
void SetTitle(const std::string& title) override;
|
||||
void SetHighlightMode(bool highlight) override;
|
||||
void PopContextMenu() override;
|
||||
void PopContextMenu(const gfx::Point& pos) override;
|
||||
void SetContextMenu(ui::SimpleMenuModel* menu_model) override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -212,7 +212,7 @@ void TrayIconCocoa::SetHighlightMode(bool highlight) {
|
||||
[status_item_view_ setHighlight:highlight];
|
||||
}
|
||||
|
||||
void TrayIconCocoa::PopContextMenu() {
|
||||
void TrayIconCocoa::PopContextMenu(const gfx::Point& pos) {
|
||||
[status_item_view_ popContextMenu];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user