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

Unified Diff: ppapi/proxy/ppb_message_loop_proxy.cc

Issue 1390513002: Remove base::MessageLoop::{Quit,QuitClosure} functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split into small CLs Created 5 years, 2 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 | « jingle/glue/thread_wrapper_unittest.cc ('k') | storage/common/database/database_connections.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_message_loop_proxy.cc
diff --git a/ppapi/proxy/ppb_message_loop_proxy.cc b/ppapi/proxy/ppb_message_loop_proxy.cc
index 3d29a7b9a89201f1e700bda0d28a194d39117f24..c9ea5a802bcbf14ac34f244b074d5b7491e9524d 100644
--- a/ppapi/proxy/ppb_message_loop_proxy.cc
+++ b/ppapi/proxy/ppb_message_loop_proxy.cc
@@ -141,9 +141,9 @@ int32_t MessageLoopResource::PostQuit(PP_Bool should_destroy) {
should_destroy_ = true;
if (IsCurrent() && nested_invocations_ > 0)
- loop_->Quit();
+ loop_->QuitWhenIdle();
else
- PostClosure(FROM_HERE, base::MessageLoop::QuitClosure(), 0);
+ PostClosure(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure(), 0);
return PP_OK;
}
« no previous file with comments | « jingle/glue/thread_wrapper_unittest.cc ('k') | storage/common/database/database_connections.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698