diff --git a/atom/browser/browser_mac.mm b/atom/browser/browser_mac.mm index 627ed65dccd7..a12bd8c88099 100644 --- a/atom/browser/browser_mac.mm +++ b/atom/browser/browser_mac.mm @@ -69,7 +69,7 @@ bool Browser::IsDefaultProtocolClient(const std::string& protocol) { return false; NSString* protocol_ns = [NSString stringWithUTF8String:protocol.c_str()]; - + CFStringRef bundle = LSCopyDefaultHandlerForURLScheme(base::mac::NSToCFCast(protocol_ns)); NSString* bundleId = static_cast( @@ -77,7 +77,7 @@ bool Browser::IsDefaultProtocolClient(const std::string& protocol) { if (!bundleId) return false; - // Ensure the comparison is case-insensitive + // Ensure the comparison is case-insensitive // as LS does not persist the case of the bundle id. NSComparisonResult result = [bundleId caseInsensitiveCompare:identifier]; @@ -93,11 +93,11 @@ void Browser::SetUserActivity(const std::string& type, const std::map