| Index: third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| diff --git a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| index 3a266f590fad4bedbcf6da978dbc62b4fdea0a66..7458b32ce1a5a41ada1eb430e85b12702f414dc6 100644
|
| --- a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| +++ b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| @@ -41,7 +41,7 @@ const AtomicString& remotePlaybackStateToString(WebRemotePlaybackState state) {
|
|
|
| void runNotifyInitialAvailabilityTask(ExecutionContext* context,
|
| std::unique_ptr<WTF::Closure> task) {
|
| - InspectorInstrumentation::AsyncTask asyncTask(context, task.get());
|
| + probe::AsyncTask asyncTask(context, task.get());
|
| (*task)();
|
| }
|
|
|
| @@ -101,8 +101,8 @@ ScriptPromise RemotePlayback::watchAvailability(
|
| // We can remove the wrapper if InspectorInstrumentation returns a task id.
|
| std::unique_ptr<WTF::Closure> task = WTF::bind(
|
| &RemotePlayback::notifyInitialAvailability, wrapPersistent(this), id);
|
| - InspectorInstrumentation::asyncTaskScheduled(
|
| - getExecutionContext(), "watchAvailabilityCallback", task.get());
|
| + probe::asyncTaskScheduled(getExecutionContext(), "watchAvailabilityCallback",
|
| + task.get());
|
| TaskRunnerHelper::get(TaskType::MediaElementEvent, getExecutionContext())
|
| ->postTask(BLINK_FROM_HERE,
|
| WTF::bind(runNotifyInitialAvailabilityTask,
|
|
|