Index: cc/base/worker_pool.cc |
diff --git a/cc/base/worker_pool.cc b/cc/base/worker_pool.cc |
index 25596d40718ff747e893d34fe1001a5dc6772939..469f67c66acbf1f8fd3f6816d554b870dafac17c 100644 |
--- a/cc/base/worker_pool.cc |
+++ b/cc/base/worker_pool.cc |
@@ -549,7 +549,8 @@ void WorkerPool::RunCheapTasks() { |
base::TimeTicks now = base::TimeTicks::Now(); |
if (now >= run_cheap_tasks_time_limit_) { |
- TRACE_EVENT_INSTANT0("cc", "WorkerPool::RunCheapTasks out of time"); |
+ TRACE_EVENT_INSTANT0("cc", "WorkerPool::RunCheapTasks out of time", |
+ TRACE_EVENT_SCOPE_THREAD); |
break; |
} |
@@ -558,7 +559,8 @@ void WorkerPool::RunCheapTasks() { |
now < check_for_completed_tasks_time_) |
break; |
- TRACE_EVENT_INSTANT0("cc", "WorkerPool::RunCheapTasks check time"); |
+ TRACE_EVENT_INSTANT0("cc", "WorkerPool::RunCheapTasks check time", |
+ TRACE_EVENT_SCOPE_THREAD); |
CancelCheckForCompletedTasks(); |
DispatchCompletionCallbacks(); |
// Schedule another check for completed tasks if not idle. |