| 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 {
|
|
|