mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Linux: Remove DCHECK hit when initializing CEF from a non-main thread (issue #1639)
This commit is contained in:
@ -170,4 +170,10 @@ patches = [
|
|||||||
'name': 'print_header_footer_1478_1565',
|
'name': 'print_header_footer_1478_1565',
|
||||||
'path': '../components/',
|
'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);
|
Reference in New Issue
Block a user