summaryrefslogtreecommitdiffstats
path: root/remoting/host/win/chromoting_module.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 19:34:00 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 19:34:00 +0000
commit166f2ed8f748b4b910db4b20b7f5d35ef41e209c (patch)
treec9ab93eac521aee1577db71616205137339bf381 /remoting/host/win/chromoting_module.cc
parent030a4809dc6fbb95753fb11faa99bc07c8eb1f6f (diff)
downloadchromium_src-166f2ed8f748b4b910db4b20b7f5d35ef41e209c.zip
chromium_src-166f2ed8f748b4b910db4b20b7f5d35ef41e209c.tar.gz
chromium_src-166f2ed8f748b4b910db4b20b7f5d35ef41e209c.tar.bz2
MessageLoop(TYPE_UI) -> MessageLoopForUI
Converts creation of MessageLoopForUI from MessageLoop(TYPE_UI) to MessageLoopForUI. This is a step in the direction of moving type out of MessageLoop. BUG=none TEST=none R=darin@chromium.org Review URL: https://codereview.chromium.org/108713004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/win/chromoting_module.cc')
-rw-r--r--remoting/host/win/chromoting_module.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/win/chromoting_module.cc b/remoting/host/win/chromoting_module.cc
index 630c6c2..0e9f6b6 100644
--- a/remoting/host/win/chromoting_module.cc
+++ b/remoting/host/win/chromoting_module.cc
@@ -132,7 +132,7 @@ bool ChromotingModule::Run() {
}
// Arrange to run |message_loop| until no components depend on it.
- base::MessageLoop message_loop(base::MessageLoop::TYPE_UI);
+ base::MessageLoopForUI message_loop;
base::RunLoop run_loop;
g_module_task_runner.Get() = new AutoThreadTaskRunner(
message_loop.message_loop_proxy(), run_loop.QuitClosure());