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

Unified Diff: third_party/WebKit/Source/core/dom/ContainerNode.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/ContainerNode.cpp
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
index 5fab68c65a709d29e065541514cc529aec08a187..cfe0428c4d1150b125568ba6936061c3c3ebea3b 100644
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
@@ -212,7 +212,7 @@ template <typename Functor>
void ContainerNode::insertNodeVector(const NodeVector& targets,
Node* next,
const Functor& mutator) {
- InspectorInstrumentation::willInsertDOMNode(this);
+ probe::willInsertDOMNode(this);
NodeVector postInsertionNotificationTargets;
{
EventDispatchForbiddenScope assertNoEventDispatch;
@@ -225,7 +225,7 @@ void ContainerNode::insertNodeVector(const NodeVector& targets,
ChildListMutationScope(*this).childAdded(child);
if (document().containsV1ShadowTree())
child.checkSlotChangeAfterInserted();
- InspectorInstrumentation::didInsertDOMNode(&child);
+ probe::didInsertDOMNode(&child);
notifyNodeInsertedInternal(child, postInsertionNotificationTargets);
}
}
@@ -709,7 +709,7 @@ void ContainerNode::notifyNodeInserted(Node& root,
if (document().containsV1ShadowTree())
root.checkSlotChangeAfterInserted();
- InspectorInstrumentation::didInsertDOMNode(&root);
+ probe::didInsertDOMNode(&root);
NodeVector postInsertionNotificationTargets;
notifyNodeInsertedInternal(root, postInsertionNotificationTargets);
@@ -1232,7 +1232,7 @@ static void dispatchChildInsertionEvents(Node& child) {
static void dispatchChildRemovalEvents(Node& child) {
if (child.isInShadowTree()) {
- InspectorInstrumentation::willRemoveDOMNode(&child);
+ probe::willRemoveDOMNode(&child);
return;
}
@@ -1240,7 +1240,7 @@ static void dispatchChildRemovalEvents(Node& child) {
DCHECK(!EventDispatchForbiddenScope::isEventDispatchForbidden());
#endif
- InspectorInstrumentation::willRemoveDOMNode(&child);
+ probe::willRemoveDOMNode(&child);
Node* c = &child;
Document* document = &child.document();
« no previous file with comments | « third_party/WebKit/Source/core/dom/CharacterData.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698