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

Unified Diff: content/renderer/pepper/ppb_flash_message_loop_impl.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
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | content/renderer/render_thread_impl_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppb_flash_message_loop_impl.cc
diff --git a/content/renderer/pepper/ppb_flash_message_loop_impl.cc b/content/renderer/pepper/ppb_flash_message_loop_impl.cc
index 89ac5adde7a0e7de7fc17cdfa3527311a31cee90..d8567845c77474a88b904e6ef3fb324f851fdd3f 100644
--- a/content/renderer/pepper/ppb_flash_message_loop_impl.cc
+++ b/content/renderer/pepper/ppb_flash_message_loop_impl.cc
@@ -6,6 +6,7 @@
#include "base/callback.h"
#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "ppapi/c/pp_errors.h"
#include "third_party/WebKit/public/web/WebView.h"
@@ -90,7 +91,7 @@ int32_t PPB_Flash_MessageLoop_Impl::InternalRun(
base::MessageLoop::current());
blink::WebView::willEnterModalLoop();
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
blink::WebView::didExitModalLoop();
}
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | content/renderer/render_thread_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698