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

Unified Diff: third_party/WebKit/Source/core/dom/MutationObserver.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/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);
}

Powered by Google App Engine
This is Rietveld 408576698