diff --git a/shell/common/platform_util_mac.mm b/shell/common/platform_util_mac.mm index 32972a5dfe44..ad9b51a576cb 100644 --- a/shell/common/platform_util_mac.mm +++ b/shell/common/platform_util_mac.mm @@ -128,7 +128,7 @@ SMAppService* GetServiceForType(const std::string& type, return [SMAppService agentServiceWithPlistName:service_name]; } else if (type == "daemonService") { return [SMAppService daemonServiceWithPlistName:service_name]; - } else if (type == "loginService") { + } else if (type == "loginItemService") { return [SMAppService loginItemServiceWithIdentifier:service_name]; } else { LOG(ERROR) << "Unrecognized login item type";