| 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 5f0ba65d444cc3175df05a3c43d6e43a5cffb367..1fbbcc5bab4e48aea88169095da7df6e6a24e997 100644
|
| --- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| @@ -1237,13 +1237,13 @@ static void DispatchChildInsertionEvents(Node& child) {
|
| Document* document = &child.GetDocument();
|
|
|
| if (c->parentNode() &&
|
| - document->HasListenerType(Document::DOMNODEINSERTED_LISTENER))
|
| + document->HasListenerType(Document::kDOMNodeInsertedListener))
|
| c->DispatchScopedEvent(MutationEvent::Create(
|
| EventTypeNames::DOMNodeInserted, true, c->parentNode()));
|
|
|
| // dispatch the DOMNodeInsertedIntoDocument event to all descendants
|
| if (c->isConnected() && document->HasListenerType(
|
| - Document::DOMNODEINSERTEDINTODOCUMENT_LISTENER)) {
|
| + Document::kDOMNodeInsertedIntoDocumentListener)) {
|
| for (; c; c = NodeTraversal::Next(*c, &child))
|
| c->DispatchScopedEvent(MutationEvent::Create(
|
| EventTypeNames::DOMNodeInsertedIntoDocument, false));
|
| @@ -1267,7 +1267,7 @@ static void DispatchChildRemovalEvents(Node& child) {
|
|
|
| // Dispatch pre-removal mutation events.
|
| if (c->parentNode() &&
|
| - document->HasListenerType(Document::DOMNODEREMOVED_LISTENER)) {
|
| + document->HasListenerType(Document::kDOMNodeRemovedListener)) {
|
| NodeChildRemovalTracker scope(child);
|
| c->DispatchScopedEvent(MutationEvent::Create(EventTypeNames::DOMNodeRemoved,
|
| true, c->parentNode()));
|
| @@ -1275,7 +1275,7 @@ static void DispatchChildRemovalEvents(Node& child) {
|
|
|
| // Dispatch the DOMNodeRemovedFromDocument event to all descendants.
|
| if (c->isConnected() && document->HasListenerType(
|
| - Document::DOMNODEREMOVEDFROMDOCUMENT_LISTENER)) {
|
| + Document::kDOMNodeRemovedFromDocumentListener)) {
|
| NodeChildRemovalTracker scope(child);
|
| for (; c; c = NodeTraversal::Next(*c, &child))
|
| c->DispatchScopedEvent(MutationEvent::Create(
|
|
|