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

Unified Diff: content/gpu/gpu_main.cc

Issue 14335017: content: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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/gpu/gpu_info_collector_win.cc ('k') | content/gpu/gpu_watchdog_thread.h » ('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 7b45e5401275b2403f13d8b1db0e6d01f62c8b58..6c1045f3b33bdd0349eac5d6ca919725e6e8aefa 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -107,7 +107,7 @@ int GpuMain(const MainFunctionParams& parameters) {
// GpuMsg_Initialize message from the browser.
bool dead_on_arrival = false;
- MessageLoop::Type message_loop_type = MessageLoop::TYPE_IO;
+ base::MessageLoop::Type message_loop_type = base::MessageLoop::TYPE_IO;
#if defined(OS_WIN)
// Unless we're running on desktop GL, we don't need a UI message
// loop, so avoid its use to work around apparent problems with some
@@ -115,13 +115,13 @@ int GpuMain(const MainFunctionParams& parameters) {
if (command_line.HasSwitch(switches::kUseGL) &&
command_line.GetSwitchValueASCII(switches::kUseGL) ==
gfx::kGLImplementationDesktopName) {
- message_loop_type = MessageLoop::TYPE_UI;
+ message_loop_type = base::MessageLoop::TYPE_UI;
}
#elif defined(OS_LINUX)
- message_loop_type = MessageLoop::TYPE_DEFAULT;
+ message_loop_type = base::MessageLoop::TYPE_DEFAULT;
#endif
- MessageLoop main_message_loop(message_loop_type);
+ base::MessageLoop main_message_loop(message_loop_type);
base::PlatformThread::SetName("CrGpuMain");
// In addition to disabling the watchdog if the command line switch is
« no previous file with comments | « content/gpu/gpu_info_collector_win.cc ('k') | content/gpu/gpu_watchdog_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698