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

Unified Diff: content/gpu/gpu_main.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/child/web_url_loader_impl_unittest.cc ('k') | content/ppapi_plugin/ppapi_broker_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index bc2ee1287f69f0aba7c3eb749aa8e26745357912..cc326628adae5463536525a2d2c8c478547c1453 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -13,6 +13,7 @@
#include "base/metrics/histogram.h"
#include "base/metrics/statistics_recorder.h"
#include "base/rand_util.h"
+#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/third_party/dynamic_annotations/dynamic_annotations.h"
@@ -45,8 +46,8 @@
#include "ui/gl/init/gl_factory.h"
#if defined(OS_WIN)
-#include <dwmapi.h>
#include <windows.h>
+#include <dwmapi.h>
#endif
#if defined(OS_ANDROID)
@@ -417,7 +418,7 @@ int GpuMain(const MainFunctionParams& parameters) {
{
TRACE_EVENT0("gpu", "Run Message Loop");
- main_message_loop.Run();
+ base::RunLoop().Run();
}
child_thread->StopWatchdog();
« no previous file with comments | « content/child/web_url_loader_impl_unittest.cc ('k') | content/ppapi_plugin/ppapi_broker_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698