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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.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/bindings/core/v8/ScriptPromiseResolver.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
index f38e716392a7f474e49bf405064300438756077e..311d61343920dc75a92b6b67c64435bd927b2a7b 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
@@ -22,8 +22,7 @@ ScriptPromiseResolver::ScriptPromiseResolver(ScriptState* scriptState)
m_state = Detached;
m_resolver.clear();
}
- InspectorInstrumentation::asyncTaskScheduled(getExecutionContext(), "Promise",
- this);
+ probe::asyncTaskScheduled(getExecutionContext(), "Promise", this);
}
void ScriptPromiseResolver::suspend() {
@@ -43,7 +42,7 @@ void ScriptPromiseResolver::detach() {
m_resolver.clear();
m_value.clear();
m_keepAlive.clear();
- InspectorInstrumentation::asyncTaskCanceled(getExecutionContext(), this);
+ probe::asyncTaskCanceled(getExecutionContext(), this);
}
void ScriptPromiseResolver::keepAliveWhilePending() {
@@ -73,7 +72,7 @@ void ScriptPromiseResolver::resolveOrRejectImmediately() {
DCHECK(!getExecutionContext()->isContextDestroyed());
DCHECK(!getExecutionContext()->isContextSuspended());
{
- InspectorInstrumentation::AsyncTask asyncTask(getExecutionContext(), this);
+ probe::AsyncTask asyncTask(getExecutionContext(), this);
if (m_state == Resolving) {
m_resolver.resolve(m_value.newLocal(m_scriptState->isolate()));
} else {

Powered by Google App Engine
This is Rietveld 408576698