Index: net/tools/dump_cache/dump_files.cc |
diff --git a/net/tools/dump_cache/dump_files.cc b/net/tools/dump_cache/dump_files.cc |
index 7f4fb58343df0fc1cb170ada4302e6c8abc36d20..78b5d345a91f6defeb544634df295c2ab2bbb042 100644 |
--- a/net/tools/dump_cache/dump_files.cc |
+++ b/net/tools/dump_cache/dump_files.cc |
@@ -57,7 +57,7 @@ int GetMajorVersionFromFile(const base::FilePath& name) { |
// Dumps the contents of the Stats record. |
void DumpStats(const base::FilePath& path, disk_cache::CacheAddr addr) { |
// We need a message loop, although we really don't run any task. |
- base::MessageLoop loop(base::MessageLoop::TYPE_IO); |
+ base::MessageLoopForIO loop; |
disk_cache::BlockFiles block_files(path); |
if (!block_files.Init(false)) { |
@@ -355,7 +355,7 @@ int DumpContents(const base::FilePath& input_path) { |
DumpHeaders(input_path); |
// We need a message loop, although we really don't run any task. |
- base::MessageLoop loop(base::MessageLoop::TYPE_IO); |
+ base::MessageLoopForIO loop; |
CacheDumper dumper(input_path); |
if (!dumper.Init()) |
return -1; |