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

Unified Diff: content/gpu/gpu_main.cc

Issue 7529003: Make base::MessageLoops have names at construction time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make message loop name optional. Created 9 years, 5 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 | « chrome/service/service_main.cc ('k') | content/plugin/plugin_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 68aff9b764e3e61efee4a511b344e680fb9b80a6..b50605fb03a230e1ea35b1e99d847fe67e6f3fce 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -11,7 +11,6 @@
#include "base/environment.h"
#include "base/message_loop.h"
#include "base/stringprintf.h"
-#include "base/threading/platform_thread.h"
#include "base/win/scoped_com_initializer.h"
#include "build/build_config.h"
#include "content/common/content_switches.h"
@@ -73,8 +72,7 @@ int GpuMain(const MainFunctionParams& parameters) {
chrome_application_mac::RegisterCrApp();
#endif
- MessageLoop main_message_loop(MessageLoop::TYPE_UI);
- base::PlatformThread::SetName("CrGpuMain");
+ MessageLoop main_message_loop("CrGpuMain", MessageLoop::TYPE_UI);
if (!command_line.HasSwitch(switches::kSingleProcess)) {
#if defined(OS_WIN)
« no previous file with comments | « chrome/service/service_main.cc ('k') | content/plugin/plugin_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698