Linux: Remove DCHECK hit when initializing CEF from a non-main thread (issue #1639)

This commit is contained in:
Marshall Greenblatt 2015-07-29 12:04:19 -04:00
parent c992ef9d57
commit 322d697169
2 changed files with 19 additions and 0 deletions

View File

@ -170,4 +170,10 @@ patches = [
'name': 'print_header_footer_1478_1565',
'path': '../components/',
},
{
# Remove DCHECK on Linux when initialized CEF from a non-main thread.
# https://bitbucket.org/chromiumembedded/cef/issue/1639
'name': 'process_title_1639',
'path': '../content/common/',
},
]

View File

@ -0,0 +1,13 @@
diff --git set_process_title.cc set_process_title.cc
index 229524e..86559f6 100644
--- set_process_title.cc
+++ set_process_title.cc
@@ -42,7 +42,7 @@ void SetProcessTitleFromCommandLine(const char** main_argv) {
bool have_argv0 = false;
#if defined(OS_LINUX)
- DCHECK_EQ(base::PlatformThread::CurrentId(), getpid());
+ //DCHECK_EQ(base::PlatformThread::CurrentId(), getpid());
if (main_argv)
setproctitle_init(main_argv);