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

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

Issue 2539323002: PerformanceMonitor: do not maintain a vector of frames in the monitor, single ExecutionContext memb… (Closed)
Patch Set: off-by-one in depth fixed Created 4 years 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
Index: third_party/WebKit/Source/core/timing/Performance.h
diff --git a/third_party/WebKit/Source/core/timing/Performance.h b/third_party/WebKit/Source/core/timing/Performance.h
index 95bc1fb07652a56e43d13072d7bad3f19417b55d..339aaf8e084f8718842eed91c71f32c29adfd400 100644
--- a/third_party/WebKit/Source/core/timing/Performance.h
+++ b/third_party/WebKit/Source/core/timing/Performance.h
@@ -77,13 +77,15 @@ class CORE_EXPORT Performance final : public PerformanceBase,
void frameDestroyed() override;
static std::pair<String, DOMWindow*> sanitizedAttribution(
- const HeapHashSet<Member<Frame>>& frames,
+ ExecutionContext*,
+ bool hasMultipleContexts,
Frame* observerFrame);
// PerformanceMonitor::Client implementation.
void reportLongTask(double startTime,
double endTime,
- const HeapHashSet<Member<Frame>>& contextFrames) override;
+ ExecutionContext* taskContext,
+ bool hasMultipleContexts) override;
mutable Member<PerformanceNavigation> m_navigation;
mutable Member<PerformanceTiming> m_timing;
« no previous file with comments | « third_party/WebKit/Source/core/frame/PerformanceMonitorTest.cpp ('k') | third_party/WebKit/Source/core/timing/Performance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698