Fix type cast of sharedApplication
authorragingwind <ragingwind@gmail.com>
Mon, 1 Feb 2016 08:06:09 +0000 (17:06 +0900)
committerragingwind <ragingwind@gmail.com>
Mon, 1 Feb 2016 08:17:22 +0000 (17:17 +0900)
atom/browser/browser_mac.mm

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