Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(888)

Unified Diff: third_party/WebKit/Source/core/timing/Performance.cpp

Issue 2390863002: Replace InspectedFrames::root with pointer to directly stored LocalFrame (Closed)
Patch Set: sync to head Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorWebPerfAgentTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorWebPerfAgentTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698