| Index: third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.cpp
|
| index f1341f29c60c6418304fe889987e2353cfa71c15..c54fd41a03b2d3fcfc9775f790edfb719f6ce1e8 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.cpp
|
| @@ -4,7 +4,9 @@
|
|
|
| #include "core/dom/custom/CustomElementReactionQueue.h"
|
|
|
| +#include "core/dom/Element.h"
|
| #include "core/dom/custom/CustomElementReaction.h"
|
| +#include "platform/tracing/TraceEvent.h"
|
|
|
| namespace blink {
|
|
|
| @@ -23,6 +25,8 @@ void CustomElementReactionQueue::add(CustomElementReaction* reaction) {
|
| // There is one queue per element, so this could be invoked
|
| // recursively.
|
| void CustomElementReactionQueue::invokeReactions(Element* element) {
|
| + TRACE_EVENT1("blink", "CustomElementReactionQueue::invokeReactions", "name",
|
| + element->localName().utf8());
|
| while (m_index < m_reactions.size()) {
|
| CustomElementReaction* reaction = m_reactions[m_index];
|
| m_reactions[m_index++] = nullptr;
|
|
|