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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2539323002: PerformanceMonitor: do not maintain a vector of frames in the monitor, single ExecutionContext memb… (Closed)
Patch Set: 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/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 562818bc489268d2705db002be931d20c22c1dc0..e98dc0ab74258fc83fce0636de0bfab84d1972fc 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -425,6 +425,7 @@ void LocalFrame::detach(FrameDetachType type) {
// up calling back to FrameLoaderClient via WindowProxy.
script().clearForClose();
setView(nullptr);
+ m_performanceMonitor->shutdown();
caseq 2016/12/01 02:04:03 This does not look good already.
m_host->eventHandlerRegistry().didRemoveAllEventHandlers(*localDOMWindow());

Powered by Google App Engine
This is Rietveld 408576698