| Index: Source/core/frame/DOMWindow.cpp
|
| diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp
|
| index 0a0e0def9c8ef9c7d674ce05d013f0363fa0ca53..15a499eed8652e0d313279030c78d9f2f4ba5fc9 100644
|
| --- a/Source/core/frame/DOMWindow.cpp
|
| +++ b/Source/core/frame/DOMWindow.cpp
|
| @@ -1838,6 +1838,8 @@ void DOMWindow::showModalDialog(const String& urlString, const String& dialogFea
|
| if (!canShowModalDialogNow(m_frame) || !firstWindow->allowPopUp())
|
| return;
|
|
|
| + UseCounter::countDeprecation(this, UseCounter::ShowModalDialog);
|
| +
|
| WindowFeatures windowFeatures(dialogFeaturesString, screenAvailableRect(m_frame->view()));
|
| Frame* dialogFrame = createWindow(urlString, emptyAtom, windowFeatures,
|
| activeWindow, firstFrame, m_frame, function, functionContext);
|
|
|