Index: Source/core/frame/DOMWindow.cpp |
diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp |
index c3c3810e53ac63924d2d854aba3fe839a88e8fbf..c5b0a7ee7dd2b6c8003b56bee9a6840f6435f175 100644 |
--- a/Source/core/frame/DOMWindow.cpp |
+++ b/Source/core/frame/DOMWindow.cpp |
@@ -310,16 +310,6 @@ bool DOMWindow::allowPopUp() |
return m_frame && allowPopUp(*m_frame); |
} |
-bool DOMWindow::canShowModalDialog(const LocalFrame* frame) |
-{ |
- if (!frame) |
- return false; |
- FrameHost* host = frame->host(); |
- if (!host) |
- return false; |
- return host->chrome().canRunModal(); |
-} |
- |
bool DOMWindow::canShowModalDialogNow(const LocalFrame* frame) |
{ |
if (!frame) |