summaryrefslogtreecommitdiffstats
path: root/net/tools/dump_cache/upgrade_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools/dump_cache/upgrade_win.cc')
-rw-r--r--net/tools/dump_cache/upgrade_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tools/dump_cache/upgrade_win.cc b/net/tools/dump_cache/upgrade_win.cc
index 5135592..68744d3 100644
--- a/net/tools/dump_cache/upgrade_win.cc
+++ b/net/tools/dump_cache/upgrade_win.cc
@@ -893,7 +893,7 @@ HANDLE CreateServer(base::string16* pipe_number) {
// This is the controller process for an upgrade operation.
int UpgradeCache(const base::FilePath& output_path, HANDLE pipe) {
- base::MessageLoop loop(base::MessageLoop::TYPE_IO);
+ base::MessageLoopForIO loop;
MasterSM master(output_path, pipe);
if (!master.DoInit()) {
@@ -908,7 +908,7 @@ int UpgradeCache(const base::FilePath& output_path, HANDLE pipe) {
// This process will only execute commands from the controller.
int RunSlave(const base::FilePath& input_path,
const base::string16& pipe_number) {
- base::MessageLoop loop(base::MessageLoop::TYPE_IO);
+ base::MessageLoopForIO loop;
base::win::ScopedHandle pipe(OpenServer(pipe_number));
if (!pipe.IsValid()) {