Remove extra blank.

This commit is contained in:
Haojian Wu 2017-04-01 15:09:53 +02:00
parent 8ae91682cb
commit f09e3f3835

View file

@ -73,10 +73,10 @@ std::string MessageForOSStatus(OSStatus status, const char* default_message) {
// NSWorkspace#openURLs. // NSWorkspace#openURLs.
std::string OpenURL(NSURL* ns_url, bool activate) { std::string OpenURL(NSURL* ns_url, bool activate) {
CFURLRef openingApp = nullptr; CFURLRef openingApp = nullptr;
OSStatus status = LSGetApplicationForURL(base::mac::NSToCFCast(ns_url), OSStatus status = LSGetApplicationForURL(base::mac::NSToCFCast(ns_url),
kLSRolesAll, kLSRolesAll,
nullptr, nullptr,
&openingApp); &openingApp);
if (status != noErr) if (status != noErr)
return MessageForOSStatus(status, "Failed to open"); return MessageForOSStatus(status, "Failed to open");