Remove extra blank.
This commit is contained in:
parent
8ae91682cb
commit
f09e3f3835
1 changed files with 4 additions and 4 deletions
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue