Fix assertion when get X11 error in new thread
This commit is contained in:
parent
39e0433570
commit
b25175a19a
2 changed files with 1 additions and 2 deletions
|
@ -105,7 +105,7 @@ void OverrideLinuxAppDataPath() {
|
|||
}
|
||||
|
||||
int BrowserX11ErrorHandler(Display* d, XErrorEvent* error) {
|
||||
if (!g_in_x11_io_error_handler) {
|
||||
if (!g_in_x11_io_error_handler && base::ThreadTaskRunnerHandle::IsSet()) {
|
||||
base::ThreadTaskRunnerHandle::Get()->PostTask(
|
||||
FROM_HERE, base::Bind(&ui::LogErrorEventDescription, d, *error));
|
||||
}
|
||||
|
|
|
@ -184,7 +184,6 @@
|
|||
}, {
|
||||
'libraries': [
|
||||
'<@(libchromiumcontent_v8_libraries)',
|
||||
'<(libchromiumcontent_dir)/libc++.so',
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue