summaryrefslogtreecommitdiffstats
path: root/base/thread.cc
diff options
context:
space:
mode:
authorhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-09 20:06:34 +0000
committerhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-09 20:06:34 +0000
commit34960a545057de6f1a5c9fbb4d004a11dc6f7d2b (patch)
treef71c1e6743a4233c06dcd8ca36d48ac41428dd42 /base/thread.cc
parent7debf7385682c5fcc4ab8e17b05148491944fb81 (diff)
downloadchromium_src-34960a545057de6f1a5c9fbb4d004a11dc6f7d2b.zip
chromium_src-34960a545057de6f1a5c9fbb4d004a11dc6f7d2b.tar.gz
chromium_src-34960a545057de6f1a5c9fbb4d004a11dc6f7d2b.tar.bz2
Revert r25770 due to valgrind failures on Linux.
TEST=none. BUG=none. Review URL: http://codereview.chromium.org/199065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25781 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/thread.cc')
-rw-r--r--base/thread.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/base/thread.cc b/base/thread.cc
index dcda330..f447fbb 100644
--- a/base/thread.cc
+++ b/base/thread.cc
@@ -135,10 +135,6 @@ void Thread::StopSoon() {
message_loop_->PostTask(FROM_HERE, new ThreadQuitTask());
}
-void Thread::Run(MessageLoop* message_loop) {
- message_loop->Run();
-}
-
void Thread::ThreadMain() {
// The message loop for this thread.
MessageLoop message_loop(startup_data_->options.message_loop_type);
@@ -157,7 +153,7 @@ void Thread::ThreadMain() {
// startup_data_ can't be touched anymore since the starting thread is now
// unlocked.
- Run(message_loop_);
+ message_loop.Run();
// Let the thread do extra cleanup.
CleanUp();