summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile_resetter/profile_resetter_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profile_resetter/profile_resetter_unittest.cc')
-rw-r--r--chrome/browser/profile_resetter/profile_resetter_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/profile_resetter/profile_resetter_unittest.cc b/chrome/browser/profile_resetter/profile_resetter_unittest.cc
index 08f204a..91312aa 100644
--- a/chrome/browser/profile_resetter/profile_resetter_unittest.cc
+++ b/chrome/browser/profile_resetter/profile_resetter_unittest.cc
@@ -181,7 +181,7 @@ class ConfigParserTest : public testing::Test {
MOCK_METHOD0(Callback, void(void));
- base::MessageLoop loop_;
+ base::MessageLoopForIO loop_;
content::TestBrowserThread ui_thread_;
content::TestBrowserThread io_thread_;
URLFetcherRequestListener request_listener_;
@@ -189,8 +189,7 @@ class ConfigParserTest : public testing::Test {
};
ConfigParserTest::ConfigParserTest()
- : loop_(base::MessageLoop::TYPE_IO),
- ui_thread_(content::BrowserThread::UI, &loop_),
+ : ui_thread_(content::BrowserThread::UI, &loop_),
io_thread_(content::BrowserThread::IO, &loop_),
factory_(NULL, base::Bind(&ConfigParserTest::CreateFakeURLFetcher,
base::Unretained(this))) {