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

Unified Diff: content/renderer/pepper/plugin_module.cc

Issue 2082343002: Remove calls to deprecated MessageLoop methods in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR 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
Index: content/renderer/pepper/plugin_module.cc
diff --git a/content/renderer/pepper/plugin_module.cc b/content/renderer/pepper/plugin_module.cc
index 9d40f53d57400eb617fc0b0f6fd1e3ba4a6273e3..4afc90b8c72219c064e92be1d14e0a332052af18 100644
--- a/content/renderer/pepper/plugin_module.cc
+++ b/content/renderer/pepper/plugin_module.cc
@@ -16,6 +16,7 @@
#include "base/command_line.h"
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "content/common/frame_messages.h"
@@ -299,7 +300,7 @@ PP_Bool ReadImageData(PP_Resource device_context_2d,
void RunMessageLoop(PP_Instance instance) {
base::MessageLoop::ScopedNestableTaskAllower allow(
base::MessageLoop::current());
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
void QuitMessageLoop(PP_Instance instance) {
« no previous file with comments | « content/renderer/media/webmediaplayer_ms_unittest.cc ('k') | content/renderer/pepper/ppb_flash_message_loop_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698