Index: Source/core/frame/DOMWindow.cpp |
diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp |
index 9dfe25345772e9ba4d9b628dbfd687a543784123..db7388cca12656fc471b06f5a35a88aa86bf6844 100644 |
--- a/Source/core/frame/DOMWindow.cpp |
+++ b/Source/core/frame/DOMWindow.cpp |
@@ -1262,10 +1262,6 @@ DOMWindow* DOMWindow::top() const |
if (!m_frame) |
return 0; |
- Page* page = m_frame->page(); |
- if (!page) |
- return 0; |
- |
return m_frame->tree().top()->domWindow(); |
} |