diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-04 14:17:11 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-04 14:17:11 +0000 |
commit | dd32b127ce5deac52b24f493dac79195a30bf138 (patch) | |
tree | fe41d5b0b6fb1bcff0ccfc87a9f46cefee602723 /content/common/child_process.cc | |
parent | 63b5c710324dc630a663eb76a6a4cc1372322830 (diff) | |
download | chromium_src-dd32b127ce5deac52b24f493dac79195a30bf138.zip chromium_src-dd32b127ce5deac52b24f493dac79195a30bf138.tar.gz chromium_src-dd32b127ce5deac52b24f493dac79195a30bf138.tar.bz2 |
content: Use base::MessageLoop.
BUG=236029
R=avi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14335017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/child_process.cc')
-rw-r--r-- | content/common/child_process.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/common/child_process.cc b/content/common/child_process.cc index 6bfff5c..95bc331 100644 --- a/content/common/child_process.cc +++ b/content/common/child_process.cc @@ -51,7 +51,7 @@ ChildProcess::ChildProcess() // We can't recover from failing to start the IO thread. CHECK(io_thread_.StartWithOptions( - base::Thread::Options(MessageLoop::TYPE_IO, 0))); + base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); #if defined(OS_ANDROID) // TODO(epenner): Move thread priorities to base. (crbug.com/170549) @@ -89,13 +89,13 @@ void ChildProcess::set_main_thread(ChildThread* thread) { void ChildProcess::AddRefProcess() { DCHECK(!main_thread_.get() || // null in unittests. - MessageLoop::current() == main_thread_->message_loop()); + base::MessageLoop::current() == main_thread_->message_loop()); ref_count_++; } void ChildProcess::ReleaseProcess() { DCHECK(!main_thread_.get() || // null in unittests. - MessageLoop::current() == main_thread_->message_loop()); + base::MessageLoop::current() == main_thread_->message_loop()); DCHECK(ref_count_); DCHECK(child_process_); if (--ref_count_) |