Index: Source/core/frame/LocalDOMWindow.cpp |
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp |
index 0f2bba8b0b9086c909006581b9d073c0c5b3acb4..ce21915588c4a32dccd7658f41098989490fa689 100644 |
--- a/Source/core/frame/LocalDOMWindow.cpp |
+++ b/Source/core/frame/LocalDOMWindow.cpp |
@@ -1195,7 +1195,7 @@ int LocalDOMWindow::scrollY() const |
bool LocalDOMWindow::closed() const |
{ |
- return !m_frame || m_frame->hasBeenClosed(); |
+ return !m_frame || !m_frame->host(); |
} |
unsigned LocalDOMWindow::length() const |