Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Unified Diff: base/thread.cc

Issue 199065: Revert r25770 due to valgrind failures on Linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/thread.h ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/thread.cc
===================================================================
--- base/thread.cc (revision 25778)
+++ base/thread.cc (working copy)
@@ -135,10 +135,6 @@
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 @@
// 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();
« no previous file with comments | « base/thread.h ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698