Index: cc/resources/task_graph_runner.cc |
diff --git a/cc/resources/task_graph_runner.cc b/cc/resources/task_graph_runner.cc |
index 1a67faad2c349784395a5de8f00b4f9601ceefd4..e0b3f4ce7a65e32e74106f6cf194d1613ed38f10 100644 |
--- a/cc/resources/task_graph_runner.cc |
+++ b/cc/resources/task_graph_runner.cc |
@@ -290,6 +290,7 @@ void TaskGraphRunner::WaitForTasksToFinishRunning(NamespaceToken token) { |
{ |
base::AutoLock lock(lock_); |
+ base::ThreadRestrictions::ScopedAllowWait allow_wait; |
TaskNamespaceMap::const_iterator it = namespaces_.find(token.id_); |
if (it == namespaces_.end()) |