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

Unified Diff: ppapi/proxy/ppb_testing_proxy.cc

Issue 2087923003: Remove calls to deprecated MessageLoop methods in ppapi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_testing_proxy.cc
diff --git a/ppapi/proxy/ppb_testing_proxy.cc b/ppapi/proxy/ppb_testing_proxy.cc
index 6ddbd7ea801868233125c8fa4c8b301931bea14a..512bef9a4f87fb6b9fad41e144099e42b321ea2d 100644
--- a/ppapi/proxy/ppb_testing_proxy.cc
+++ b/ppapi/proxy/ppb_testing_proxy.cc
@@ -7,6 +7,7 @@
#include <stddef.h>
#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "ppapi/c/private/ppb_testing_private.h"
#include "ppapi/proxy/enter_proxy.h"
#include "ppapi/proxy/plugin_dispatcher.h"
@@ -57,7 +58,7 @@ void RunMessageLoop(PP_Instance instance) {
base::MessageLoop::current());
CHECK(PpapiGlobals::Get()->GetMainThreadMessageLoop()->
BelongsToCurrentThread());
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
void QuitMessageLoop(PP_Instance instance) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698