Merge pull request #4301 from ragingwind/set-icon-crash
Fix type cast of sharedApplication
This commit is contained in:
commit
6c282775a9
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ void Browser::DockSetMenu(ui::MenuModel* model) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Browser::DockSetIcon(const gfx::Image& image) {
|
void Browser::DockSetIcon(const gfx::Image& image) {
|
||||||
[[NSApplication sharedApplication]
|
[[AtomApplication sharedApplication]
|
||||||
setApplicationIconImage:image.AsNSImage()];
|
setApplicationIconImage:image.AsNSImage()];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue