summaryrefslogtreecommitdiffstats
path: root/chrome/test/out_of_proc_test_runner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/out_of_proc_test_runner.cc')
-rw-r--r--chrome/test/out_of_proc_test_runner.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/test/out_of_proc_test_runner.cc b/chrome/test/out_of_proc_test_runner.cc
index fbf5ebb..1d2bb10 100644
--- a/chrome/test/out_of_proc_test_runner.cc
+++ b/chrome/test/out_of_proc_test_runner.cc
@@ -32,6 +32,10 @@
#include "sandbox/src/sandbox_types.h"
#endif // defined(OS_WIN)
+#if defined(OS_MACOSX)
+#include "chrome/browser/chrome_browser_application_mac.h"
+#endif // defined(OS_MACOSX)
+
#if defined(OS_WIN)
// The entry point signature of chrome.dll.
typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*, wchar_t*);
@@ -454,6 +458,10 @@ void PrintUsage() {
} // namespace
int main(int argc, char** argv) {
+#if defined(OS_MACOSX)
+ chrome_browser_application_mac::RegisterBrowserCrApp();
+#endif
+
CommandLine::Init(argc, argv);
const CommandLine* command_line = CommandLine::ForCurrentProcess();