mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 91.0.4472.0 (#870763)
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
#include "base/location.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/task/post_task.h"
|
||||
#include "base/task/thread_pool.h"
|
||||
#include "base/threading/scoped_blocking_call.h"
|
||||
#include "base/threading/thread_restrictions.h"
|
||||
#include "content/public/browser/browser_task_traits.h"
|
||||
@ -55,11 +56,11 @@
|
||||
// Sequenced runners at various priorities that always execute all pending tasks
|
||||
// before shutdown are available via CefTaskRunnerManager and exposed by the CEF
|
||||
// API.
|
||||
#define CEF_POST_BLOCKING_TASK(priority, task) \
|
||||
base::PostTask( \
|
||||
FROM_HERE, \
|
||||
{base::ThreadPool(), priority, \
|
||||
base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN, base::MayBlock()}, \
|
||||
#define CEF_POST_BLOCKING_TASK(priority, task) \
|
||||
base::ThreadPool::PostTask( \
|
||||
FROM_HERE, \
|
||||
{priority, base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN, \
|
||||
base::MayBlock()}, \
|
||||
task)
|
||||
|
||||
// Post a blocking task that affects UI or responsiveness of future user
|
||||
|
Reference in New Issue
Block a user