Index: third_party/WebKit/Source/core/timing/Performance.cpp |
diff --git a/third_party/WebKit/Source/core/timing/Performance.cpp b/third_party/WebKit/Source/core/timing/Performance.cpp |
index c655f88035b4a7e5be33eb58d68bf4b983786e0e..bbb617ff75498c5bb00a0059568234b30777b897 100644 |
--- a/third_party/WebKit/Source/core/timing/Performance.cpp |
+++ b/third_party/WebKit/Source/core/timing/Performance.cpp |
@@ -86,8 +86,7 @@ PerformanceTiming* Performance::timing() const { |
void Performance::updateLongTaskInstrumentation() { |
if (hasObserverFor(PerformanceEntry::LongTask) && !m_longTaskInspectorAgent) { |
- m_longTaskInspectorAgent = |
- new InspectorWebPerfAgent(InspectedFrames::create(frame())); |
+ m_longTaskInspectorAgent = new InspectorWebPerfAgent(frame()); |
m_longTaskInspectorAgent->enable(); |
} else if (!hasObserverFor(PerformanceEntry::LongTask) && |
m_longTaskInspectorAgent) { |