mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-12 17:46:04 +01:00
f781ea373f
- chrome: Disable upgrade/downgrade behavior (see #3608) - chrome: Disable process singleton behavior (see #3609) - chrome: Disable config as default system browser (see #3613)
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
diff --git net/test/embedded_test_server/embedded_test_server.cc net/test/embedded_test_server/embedded_test_server.cc
|
|
index 3db20acc9d4ea..ad7cd90aa7f0b 100644
|
|
--- net/test/embedded_test_server/embedded_test_server.cc
|
|
+++ net/test/embedded_test_server/embedded_test_server.cc
|
|
@@ -980,7 +980,7 @@ bool EmbeddedTestServer::PostTaskToIOThreadAndWait(base::OnceClosure closure) {
|
|
if (!base::CurrentThread::Get())
|
|
temporary_loop = std::make_unique<base::SingleThreadTaskExecutor>();
|
|
|
|
- base::RunLoop run_loop;
|
|
+ base::RunLoop run_loop(base::RunLoop::Type::kNestableTasksAllowed);
|
|
if (!io_thread_->task_runner()->PostTaskAndReply(
|
|
FROM_HERE, std::move(closure), run_loop.QuitClosure())) {
|
|
return false;
|
|
@@ -1007,7 +1007,7 @@ bool EmbeddedTestServer::PostTaskToIOThreadAndWaitWithResult(
|
|
if (!base::CurrentThread::Get())
|
|
temporary_loop = std::make_unique<base::SingleThreadTaskExecutor>();
|
|
|
|
- base::RunLoop run_loop;
|
|
+ base::RunLoop run_loop(base::RunLoop::Type::kNestableTasksAllowed);
|
|
bool task_result = false;
|
|
if (!io_thread_->task_runner()->PostTaskAndReplyWithResult(
|
|
FROM_HERE, std::move(task),
|