| Index: third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.cpp
|
| index 4bf634ad0884cb4e272f00a9c027363d0747b2f5..1e19f5dd5dbe0a92784b768bb7eb1b4cff8c2570 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.cpp
|
| @@ -59,7 +59,8 @@ void WorkerOrWorkletGlobalScope::runTask(
|
| std::unique_ptr<ExecutionContextTask> task,
|
| bool isInstrumented) {
|
| DCHECK(thread()->isCurrentThread());
|
| - probe::AsyncTask asyncTask(this, task.get(), isInstrumented);
|
| + probe::AsyncTask asyncTask(this, task.get());
|
| + asyncTask.setEnabled(isInstrumented);
|
| task->performTask(this);
|
| }
|
|
|
|
|