Merge pull request #4301 from ragingwind/set-icon-crash

Fix type cast of sharedApplication
This commit is contained in:
Cheng Zhao 2016-02-01 18:46:20 +08:00
commit 6c282775a9

View file

@ -111,7 +111,7 @@ void Browser::DockSetMenu(ui::MenuModel* model) {
}
void Browser::DockSetIcon(const gfx::Image& image) {
[[NSApplication sharedApplication]
[[AtomApplication sharedApplication]
setApplicationIconImage:image.AsNSImage()];
}