diff options
author | ki.stfu <ki.stfu@gmail.com> | 2015-10-12 13:10:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-12 20:10:46 +0000 |
commit | 659c758f070333905acee302474fb4bc2ce1ba46 (patch) | |
tree | e9befb9bfa5d3e9d50bc180a842563e0294c229d /remoting/base/auto_thread_unittest.cc | |
parent | aa33a9648c5684a43564294d35dd18ee056806c5 (diff) | |
download | chromium_src-659c758f070333905acee302474fb4bc2ce1ba46.zip chromium_src-659c758f070333905acee302474fb4bc2ce1ba46.tar.gz chromium_src-659c758f070333905acee302474fb4bc2ce1ba46.tar.bz2 |
Don't use base::MessageLoop::{Quit,QuitClosure} in remoting/
This patch renames base::MessageLoop::{Quit,QuitClosure} to
base::MessageLoop::{QuitWhenIdle,QuitWhenIdleClosure}.
BUG=131220
TEST=
R=joedow@chromium.org
Review URL: https://codereview.chromium.org/1394803004
Cr-Commit-Position: refs/heads/master@{#353583}
Diffstat (limited to 'remoting/base/auto_thread_unittest.cc')
-rw-r--r-- | remoting/base/auto_thread_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/base/auto_thread_unittest.cc b/remoting/base/auto_thread_unittest.cc index 13f07ac..152db81 100644 --- a/remoting/base/auto_thread_unittest.cc +++ b/remoting/base/auto_thread_unittest.cc @@ -67,7 +67,7 @@ class AutoThreadTest : public testing::Test { // task to |message_loop_| so the test will not hang on failure. main_task_runner_ = NULL; message_loop_.PostDelayedTask(FROM_HERE, - base::MessageLoop::QuitClosure(), + base::MessageLoop::QuitWhenIdleClosure(), base::TimeDelta::FromSeconds(5)); message_loop_.Run(); } @@ -87,7 +87,7 @@ class AutoThreadTest : public testing::Test { protected: void QuitMainMessageLoop() { message_loop_quit_correctly_ = true; - message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); + message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); } base::MessageLoop message_loop_; |