summaryrefslogtreecommitdiffstats
path: root/chrome/test/unit/chrome_test_suite.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/unit/chrome_test_suite.cc')
-rw-r--r--chrome/test/unit/chrome_test_suite.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/test/unit/chrome_test_suite.cc b/chrome/test/unit/chrome_test_suite.cc
index 5dfac21..10812d4 100644
--- a/chrome/test/unit/chrome_test_suite.cc
+++ b/chrome/test/unit/chrome_test_suite.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -21,6 +21,7 @@
#if defined(OS_MACOSX)
#include "base/mac/mac_util.h"
+#include "chrome/common/chrome_application_mac.h"
#endif
#if defined(OS_POSIX)
@@ -85,6 +86,10 @@ ChromeTestSuite::~ChromeTestSuite() {
}
void ChromeTestSuite::Initialize() {
+#if defined(OS_MACOSX)
+ chrome_application_mac::RegisterCrApp();
+#endif
+
base::mac::ScopedNSAutoreleasePool autorelease_pool;
base::TestSuite::Initialize();