The CefTaskRunner::GetForCurrentThread documentation says:
An empty reference will be returned if this method is called on an invalid thread.
I got crash when I try to call CefTaskRunner::GetForCurrentThread from the browser process on a non-CEF thread:
[0425/151626.852:FATAL:thread_task_runner_handle.cc(29)] Check failed: current. Error: This caller requires a single-threaded context (i.e. the current task needs to run from a SingleThreadTaskRunner). If you're in a test refer to //docs/threading_and_tasks_testing.md.
Original report by Vladislav (Bitbucket: vmas, GitHub: vmas).
The CefTaskRunner::GetForCurrentThread documentation says:
I got crash when I try to call CefTaskRunner::GetForCurrentThread from the browser process on a non-CEF thread:
Tested with M81 (Windows 10 x64).