Index: third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp b/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
index 29959e6d8825017451a2f72f8282fe715ea3fe39..0b34afd398bd457d956a5c645658947970fb7199 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
@@ -6,6 +6,7 @@ |
#include "core/dom/Document.h" |
#include "core/dom/IdleRequestOptions.h" |
+#include "platform/TraceEvent.h" |
namespace blink { |
@@ -70,6 +71,7 @@ void IntersectionObserverController::deliverIntersectionObservations() |
void IntersectionObserverController::computeTrackedIntersectionObservations() |
{ |
+ TRACE_EVENT0("blink", "IntersectionObserverController::computeTrackedIntersectionObservations"); |
for (auto& observer : m_trackedIntersectionObservers) { |
observer->computeIntersectionObservations(); |
if (observer->hasEntries()) |