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

Unified Diff: base/run_loop.cc

Issue 2548883002: Revert of Add thread checking to RunLoop, deprecate MessageLoopRunner. (Closed)
Patch Set: Created 4 years 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/run_loop.h ('k') | chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/run_loop.cc
diff --git a/base/run_loop.cc b/base/run_loop.cc
index 6faaeee2ba323d505e1d2ad09490455953e5b3c4..a2322f849582c3b22cc78b9c9980b3fd8a1a92b8 100644
--- a/base/run_loop.cc
+++ b/base/run_loop.cc
@@ -25,7 +25,6 @@
}
void RunLoop::Run() {
- DCHECK(thread_checker_.CalledOnValidThread());
if (!BeforeRun())
return;
@@ -45,7 +44,6 @@
}
void RunLoop::Quit() {
- DCHECK(thread_checker_.CalledOnValidThread());
quit_called_ = true;
if (running_ && loop_->run_loop_ == this) {
// This is the inner-most RunLoop, so quit now.
@@ -54,7 +52,6 @@
}
void RunLoop::QuitWhenIdle() {
- DCHECK(thread_checker_.CalledOnValidThread());
quit_when_idle_received_ = true;
}
« no previous file with comments | « base/run_loop.h ('k') | chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698