diff --git a/native/atom_application.mm b/native/atom_application.mm index 656344060..65d696e24 100644 --- a/native/atom_application.mm +++ b/native/atom_application.mm @@ -57,26 +57,6 @@ [[AtomWindowController alloc] initBenchmarks]; } -//#pragma mark BrowserDelegate -// -//- (void)loadEnd { -// if ([[[NSProcessInfo processInfo] arguments] containsObject:@"--headless"]) { -// [self modifyJavaScript:^(CefRefPtr context, CefRefPtr global) { -// CefRefPtr atom = context->GetGlobal()->GetValue("atom"); -// atom->SetValue("headless", CefV8Value::CreateBool(YES), V8_PROPERTY_ATTRIBUTE_NONE); -// }]; -// } -// -// if ([[[NSProcessInfo processInfo] arguments] containsObject:@"--benchmark"]) { -// [self runBenchmarks:self]; -// } -// -// if ([[[NSProcessInfo processInfo] arguments] containsObject:@"--test"]) { -// [self runSpecs:self]; -// } -//} -// - # pragma mark NSApplicationDelegate - (void)applicationWillFinishLaunching:(NSNotification *)notification {