From: joshaber Date: Tue, 6 Oct 2015 20:15:03 +0000 (-0400) Subject: This now has to be non-nil. X-Git-Tag: v0.33.7~7^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4c3fd3877438dcdd57c83a9d17915e4093fb9d80;p=electron.git This now has to be non-nil. --- diff --git a/atom/common/platform_util_mac.mm b/atom/common/platform_util_mac.mm index 1aa75eff..2f9e2b76 100644 --- a/atom/common/platform_util_mac.mm +++ b/atom/common/platform_util_mac.mm @@ -20,7 +20,7 @@ void ShowItemInFolder(const base::FilePath& full_path) { DCHECK([NSThread isMainThread]); NSString* path_string = base::SysUTF8ToNSString(full_path.value()); if (!path_string || ![[NSWorkspace sharedWorkspace] selectFile:path_string - inFileViewerRootedAtPath:nil]) + inFileViewerRootedAtPath:@""]) LOG(WARNING) << "NSWorkspace failed to select file " << full_path.value(); }