Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(913)

Unified Diff: third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.cpp

Issue 2727633006: DevTools: Rename InspectorInstrumentation:: namespace into probe:: (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698