| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "headless/lib/browser/headless_browser_main_parts.h" |
| 6 |
| 7 #import <Cocoa/Cocoa.h> |
| 8 |
| 9 #include "headless/lib/browser/headless_shell_application_mac.h" |
| 10 |
| 11 namespace headless { |
| 12 |
| 13 void HeadlessBrowserMainParts::PreMainMessageLoopStart() { |
| 14 // Force the NSApplication subclass to be used. |
| 15 [HeadlessShellCrApplication sharedApplication]; |
| 16 } |
| 17 |
| 18 } // namespace headless |
| OLD | NEW |