| Index: chrome/browser/profiles/profile_manager_unittest.cc
|
| diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc
|
| index cce457aaedd3b697c761d1adaf89199e9a646c30..e23b30a8f1a6b80cc9a7da775c93126700b75a7d 100644
|
| --- a/chrome/browser/profiles/profile_manager_unittest.cc
|
| +++ b/chrome/browser/profiles/profile_manager_unittest.cc
|
| @@ -38,6 +38,10 @@ class ProfileManagerTest : public TestingBrowserProcessTest {
|
| file_thread_(BrowserThread::FILE, &message_loop_),
|
| profile_manager_(new ProfileManagerWithoutInit),
|
| local_state_(testing_browser_process_.get()) {
|
| +#if defined(OS_MACOSX)
|
| + base::SystemMonitor::AllocateSystemIOPorts();
|
| +#endif
|
| + system_monitor_dummy_.reset(new base::SystemMonitor);
|
| }
|
|
|
| virtual void SetUp() {
|
| @@ -61,7 +65,7 @@ class ProfileManagerTest : public TestingBrowserProcessTest {
|
| BrowserThread ui_thread_;
|
| BrowserThread file_thread_;
|
|
|
| - base::SystemMonitor system_monitor_dummy_;
|
| + scoped_ptr<base::SystemMonitor> system_monitor_dummy_;
|
|
|
| // Also will test profile deletion.
|
| scoped_ptr<ProfileManager> profile_manager_;
|
|
|