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

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

Issue 2388693002: Make DOMWindowProperty a thin wrapper of ContextLifecycleObserver
Patch Set: temp 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 eff2a0ca095333329cdc9880221ce0fc37ee5136..4f886d803ef6b7f458679541990e0c4de9cf9ce0 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -431,7 +431,7 @@ void LocalFrame::detach(FrameDetachType type) {
m_host->eventHandlerRegistry().didRemoveAllEventHandlers(*localDOMWindow());
- localDOMWindow()->frameDestroyed();
+ localDOMWindow()->contextDestroyed();
// TODO: Page should take care of updating focus/scrolling instead of Frame.
// TODO: It's unclear as to why this is called more than once, but it is,

Powered by Google App Engine
This is Rietveld 408576698