Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index f605f7a4a676c2945331d6fa1ea6ca82d5f3e9bb..64af4a434e5723f992df1caa1fbe317423f06110 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -82,6 +82,7 @@ |
#include "core/html/HTMLDialogElement.h" |
#include "core/html/HTMLFrameOwnerElement.h" |
#include "core/html/HTMLStyleElement.h" |
+#include "core/inspector/InspectorTraceEvents.h" |
#include "core/page/ContextMenuController.h" |
#include "core/page/EventHandler.h" |
#include "core/page/Page.h" |
@@ -776,6 +777,11 @@ void Node::setNeedsStyleRecalc(StyleChangeType changeType) |
setStyleChange(changeType); |
if (changeType >= SubtreeStyleChange) |
traceStyleChangeIfNeeded(changeType); |
+ TRACE_EVENT_INSTANT1( |
+ TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), |
+ "StyleInvalidationTracking", |
+ "data", |
+ InspectorStyleInvalidationTrackingEvent::data(this)); |
} |
if (existingChangeType == NoStyleChange) |