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

Unified Diff: Source/core/frame/LocalDOMWindow.cpp

Issue 1017313002: Simplify handling of LocalFrame lifecycle notifications. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: clear context on FDO::contextDestroyed() Created 5 years, 9 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
Index: Source/core/frame/LocalDOMWindow.cpp
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
index f66e3e594c9087a5429dda6f4e2b1853b77baf8d..a3fa464835ba8ae18bc1c89b38e7e65a66efebda 100644
--- a/Source/core/frame/LocalDOMWindow.cpp
+++ b/Source/core/frame/LocalDOMWindow.cpp
@@ -139,10 +139,10 @@ void LocalDOMWindow::WindowFrameObserver::willDetachFrameHost()
m_window->willDetachFrameHost();
}
-void LocalDOMWindow::WindowFrameObserver::frameDestroyed()
+void LocalDOMWindow::WindowFrameObserver::contextDestroyed()
{
m_window->frameDestroyed();
- FrameDestructionObserver::frameDestroyed();
+ FrameDestructionObserver::contextDestroyed();
}
class PostMessageTimer final : public NoBaseWillBeGarbageCollectedFinalized<PostMessageTimer>, public SuspendableTimer {

Powered by Google App Engine
This is Rietveld 408576698