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

Unified Diff: extensions/test/result_catcher.cc

Issue 2564943002: Reland "Add thread checking to RunLoop, deprecate MessageLoopRunner. (patchset #4 id:20002 of https… (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 | « content/public/test/test_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/test/result_catcher.cc
diff --git a/extensions/test/result_catcher.cc b/extensions/test/result_catcher.cc
index 53c569ff0fc1445a78ed73ae5fd255620b0a3d7b..f2e9801e5fadc5b621cd169c1c01117be8e208c0 100644
--- a/extensions/test/result_catcher.cc
+++ b/extensions/test/result_catcher.cc
@@ -30,7 +30,7 @@ bool ResultCatcher::GetNextResult() {
// empty.
if (results_.empty()) {
base::RunLoop run_loop;
- quit_closure_ = content::GetQuitTaskForRunLoop(&run_loop);
+ quit_closure_ = content::GetDeferredQuitTaskForRunLoop(&run_loop);
content::RunThisRunLoop(&run_loop);
quit_closure_ = base::Closure();
}
« no previous file with comments | « content/public/test/test_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698