| Index: third_party/WebKit/Source/core/dom/MutationObserver.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/MutationObserver.cpp b/third_party/WebKit/Source/core/dom/MutationObserver.cpp
|
| index ff521da254c482ddea7dd1d5f661a5d4c6b969a7..6d0670008c1eea437fdb941ade28a87f9b4111ab 100644
|
| --- a/third_party/WebKit/Source/core/dom/MutationObserver.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/MutationObserver.cpp
|
| @@ -218,8 +218,8 @@ void MutationObserver::enqueueMutationRecord(MutationRecord* mutation) {
|
| DCHECK(isMainThread());
|
| m_records.push_back(mutation);
|
| activateObserver(this);
|
| - InspectorInstrumentation::asyncTaskScheduled(
|
| - m_callback->getExecutionContext(), mutation->type(), mutation);
|
| + probe::asyncTaskScheduled(m_callback->getExecutionContext(), mutation->type(),
|
| + mutation);
|
| }
|
|
|
| void MutationObserver::setHasTransientRegistration() {
|
| @@ -241,8 +241,7 @@ bool MutationObserver::shouldBeSuspended() const {
|
|
|
| void MutationObserver::cancelInspectorAsyncTasks() {
|
| for (auto& record : m_records)
|
| - InspectorInstrumentation::asyncTaskCanceled(
|
| - m_callback->getExecutionContext(), record);
|
| + probe::asyncTaskCanceled(m_callback->getExecutionContext(), record);
|
| }
|
|
|
| void MutationObserver::deliver() {
|
| @@ -266,8 +265,8 @@ void MutationObserver::deliver() {
|
| records.swap(m_records);
|
|
|
| // Report the first (earliest) stack as the async cause.
|
| - InspectorInstrumentation::AsyncTask asyncTask(
|
| - m_callback->getExecutionContext(), records.front());
|
| + probe::AsyncTask asyncTask(m_callback->getExecutionContext(),
|
| + records.front());
|
| m_callback->call(records, this);
|
| }
|
|
|
|
|