diff --git a/atom/browser/ui/tray_icon_cocoa.mm b/atom/browser/ui/tray_icon_cocoa.mm index 6d0919aaad..0487e07ea0 100644 --- a/atom/browser/ui/tray_icon_cocoa.mm +++ b/atom/browser/ui/tray_icon_cocoa.mm @@ -479,10 +479,6 @@ void TrayIconCocoa::SetContextMenu(AtomMenuModel* menu_model) { gfx::Rect TrayIconCocoa::GetBounds() { auto bounds = gfx::ScreenRectFromNSRect([status_item_view_ window].frame); - // Calling [window frame] immediately after the view gets created will have - // negative |y| sometimes. - if (bounds.y() < 0) - bounds.set_y(0); return bounds; }