This commit is contained in:
Kevin Sawicki 2016-07-07 16:38:12 -07:00
parent 10bb8df09a
commit 7326d3d3d5

View file

@ -160,11 +160,10 @@ Browser::LoginItemSettings Browser::GetLoginItemSettings() {
}
void Browser::SetLoginItemSettings(LoginItemSettings settings) {
if (settings.open_at_login) {
if (settings.open_at_login)
base::mac::AddToLoginItems(settings.open_as_hidden);
} else {
else
base::mac::RemoveFromLoginItems();
}
}
std::string Browser::GetExecutableFileVersion() const {