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

Unified Diff: content/common/set_process_title.cc

Issue 292873002: make debug mode ~20% faster on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: odd dcheck removed Created 6 years, 7 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/common/set_process_title.cc
diff --git a/content/common/set_process_title.cc b/content/common/set_process_title.cc
index 99eb243bba16345dd29f740f854c35f7caff4b16..28769e2628d224e112e4cc4a34b5f2d25f66db7e 100644
--- a/content/common/set_process_title.cc
+++ b/content/common/set_process_title.cc
@@ -42,8 +42,6 @@ void SetProcessTitleFromCommandLine(const char** main_argv) {
bool have_argv0 = false;
#if defined(OS_LINUX)
- DCHECK_EQ(base::PlatformThread::CurrentId(), getpid());
piman 2014/05/20 05:09:22 nit: maybe DCHECK_EQ(gettid(), getpid()); ? I thi
-
if (main_argv)
setproctitle_init(main_argv);
« base/threading/platform_thread_posix.cc ('K') | « base/threading/platform_thread_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698