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

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

Issue 544013005: Simplify window.closed testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/core/frame/Frame.h ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Frame.cpp
diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp
index 07dd2cd0db364c7238d2c8189735d76e2e590014..f647b3e5988b5ed202236a17a12183a39112612d 100644
--- a/Source/core/frame/Frame.cpp
+++ b/Source/core/frame/Frame.cpp
@@ -63,7 +63,6 @@ Frame::Frame(FrameClient* client, FrameHost* host, FrameOwner* owner)
, m_owner(owner)
, m_client(client)
, m_remotePlatformLayer(0)
- , m_hasBeenClosed(false)
{
ASSERT(page());
@@ -123,12 +122,6 @@ Settings* Frame::settings() const
return 0;
}
-void Frame::setHasBeenClosed()
-{
- ASSERT(!m_hasBeenClosed);
- m_hasBeenClosed = true;
-}
-
void Frame::setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow> domWindow)
{
if (m_domWindow)
« no previous file with comments | « Source/core/frame/Frame.h ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698