]> khamidou — GitHub mirrors - electron.git/commitdiff
Remove duplicated macro.
authorHaojian Wu <hokein.wu@gmail.com>
Thu, 21 May 2015 07:01:36 +0000 (15:01 +0800)
committerHaojian Wu <hokein.wu@gmail.com>
Sat, 23 May 2015 11:24:37 +0000 (19:24 +0800)
atom/app/atom_main_delegate.cc

index ff9d14cf593a25fbf7e38f742c961e3b9e90dd70..02dd11c81ba05ec722eb665999cd9f7b8988cbb2 100644 (file)
@@ -64,11 +64,9 @@ void AtomMainDelegate::PreSandboxStartup() {
   std::string process_type = command_line->GetSwitchValueASCII(
       switches::kProcessType);
 
-#if defined(OS_WIN)
   if (process_type == switches::kUtilityProcess) {
     AtomContentUtilityClient::PreSandboxStartup();
   }
-#endif
 
   // Only append arguments for browser process.
   if (!process_type.empty())