Index: chrome/test/out_of_proc_test_runner.cc |
diff --git a/chrome/test/out_of_proc_test_runner.cc b/chrome/test/out_of_proc_test_runner.cc |
index fbf5ebb89080534d56f2ccde92ecaf87d534448e..1d2bb10e4d9c5492400b6357a33ebd5b764c6a91 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(); |