Fix OS X build error.

This commit is contained in:
Haojian Wu 2015-07-16 11:43:42 +08:00
parent ed4c69343f
commit 736fe0c1db
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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];
}