mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-04-10 17:11:11 +02:00
Frame identifiers have changed from int64_t to string type. This is due to https://crbug.com/1502660 which removes access to frame routing IDs in the renderer process. New cross-process frame identifiers are 160-bit values (32-bit child process ID + 128-bit local frame token) and most easily represented as strings. All other frame-related expectations and behaviors remain the same.
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 3167953b790e5..bc328c0a1cedc 100644
|
|
--- net/test/embedded_test_server/embedded_test_server.cc
|
|
+++ net/test/embedded_test_server/embedded_test_server.cc
|
|
@@ -1015,7 +1015,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;
|
|
@@ -1042,7 +1042,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),
|