mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision fa6a5d87 (#499098)
This commit is contained in:
@@ -75,7 +75,7 @@ class CefV8ContextState : public base::RefCounted<CefV8ContextState> {
|
||||
struct CefV8DeleteOnMessageLoopThread {
|
||||
template <typename T>
|
||||
static void Destruct(const T* x) {
|
||||
if (x->task_runner()->RunsTasksOnCurrentThread()) {
|
||||
if (x->task_runner()->RunsTasksInCurrentSequence()) {
|
||||
delete x;
|
||||
} else {
|
||||
if (!x->task_runner()->DeleteSoon(FROM_HERE, x)) {
|
||||
|
Reference in New Issue
Block a user