mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-02 20:26:59 +01:00
Linux: Remove DCHECK hit when initializing CEF from a non-main thread (issue #1639)
This commit is contained in:
parent
c992ef9d57
commit
322d697169
@ -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/',
|
||||
},
|
||||
]
|
||||
|
13
patch/patches/process_title_1639.patch
Normal file
13
patch/patches/process_title_1639.patch
Normal 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);
|
Loading…
x
Reference in New Issue
Block a user