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

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

Issue 2478363003: PerformanceMonitor: do not leak performance objects through the monitor. (Closed)
Patch Set: rebaselined Created 4 years, 1 month 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 1ee75796e80115564a4997ad7432002479fceccd..ea5579d589e896fe18300674efdb97df2e7d666e 100644
--- a/third_party/WebKit/Source/core/timing/Performance.h
+++ b/third_party/WebKit/Source/core/timing/Performance.h
@@ -71,6 +71,9 @@ class CORE_EXPORT Performance final : public PerformanceBase,
private:
explicit Performance(LocalFrame*);
+ // DOMWindowProperty overrides.
+ void frameDestroyed() override;
+
mutable Member<PerformanceNavigation> m_navigation;
mutable Member<PerformanceTiming> m_timing;
};
« no previous file with comments | « third_party/WebKit/Source/core/frame/PerformanceMonitor.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