| 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 174594f1e79008f7ce783353485156de791f973a..4bf634ad0884cb4e272f00a9c027363d0747b2f5 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.cpp
|
| @@ -46,8 +46,7 @@ void WorkerOrWorkletGlobalScope::postTask(
|
|
|
| bool isInstrumented = !taskNameForInstrumentation.isEmpty();
|
| if (isInstrumented) {
|
| - InspectorInstrumentation::asyncTaskScheduled(this, "Worker task",
|
| - task.get());
|
| + probe::asyncTaskScheduled(this, "Worker task", task.get());
|
| }
|
|
|
| thread()->postTask(
|
| @@ -60,8 +59,7 @@ void WorkerOrWorkletGlobalScope::runTask(
|
| std::unique_ptr<ExecutionContextTask> task,
|
| bool isInstrumented) {
|
| DCHECK(thread()->isCurrentThread());
|
| - InspectorInstrumentation::AsyncTask asyncTask(this, task.get(),
|
| - isInstrumented);
|
| + probe::AsyncTask asyncTask(this, task.get(), isInstrumented);
|
| task->performTask(this);
|
| }
|
|
|
|
|