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

Unified Diff: base/message_loop/message_loop.cc

Issue 2356383003: Delete MessageLoop::Run()/RunUntilIdle(). (Closed)
Patch Set: rebase Created 4 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/message_loop/message_loop.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_loop.cc
diff --git a/base/message_loop/message_loop.cc b/base/message_loop/message_loop.cc
index 87ae7bba2e2c5485758ef671d8414c3ad8e23a9e..200f11e44e248d949a74227e738d1ec8e78b89b5 100644
--- a/base/message_loop/message_loop.cc
+++ b/base/message_loop/message_loop.cc
@@ -272,18 +272,6 @@ void MessageLoop::RemoveNestingObserver(NestingObserver* observer) {
nesting_observers_.RemoveObserver(observer);
}
-void MessageLoop::Run() {
- DCHECK(pump_);
- RunLoop run_loop;
- run_loop.Run();
-}
-
-void MessageLoop::RunUntilIdle() {
- DCHECK(pump_);
- RunLoop run_loop;
- run_loop.RunUntilIdle();
-}
-
void MessageLoop::QuitWhenIdle() {
DCHECK_EQ(this, current());
if (run_loop_) {
« no previous file with comments | « base/message_loop/message_loop.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698