Index: content/test/content_test_suite.cc |
diff --git a/content/test/content_test_suite.cc b/content/test/content_test_suite.cc |
index 4b7083ab21bcb50dd2d3703bfecf1353a10f0217..24bad08a5ca80336c1e1b8689f78096c25eb7993 100644 |
--- a/content/test/content_test_suite.cc |
+++ b/content/test/content_test_suite.cc |
@@ -18,6 +18,9 @@ |
#if defined(OS_MACOSX) |
#include "base/mac/scoped_nsautorelease_pool.h" |
+#if !defined(OS_IOS) |
+#include "base/test/mock_chrome_application_mac.h" |
+#endif |
#endif |
#if !defined(OS_IOS) |
@@ -63,6 +66,9 @@ ContentTestSuite::~ContentTestSuite() { |
void ContentTestSuite::Initialize() { |
#if defined(OS_MACOSX) |
base::mac::ScopedNSAutoreleasePool autorelease_pool; |
+#if !defined(OS_IOS) |
+ mock_cr_app::RegisterMockCrApp(); |
+#endif |
#endif |
#if defined(OS_WIN) |