| Index: Source/core/frame/DOMWindow.cpp
|
| diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp
|
| index d1a0e18453a1ad5cf45c752fa4dd29d59c464e0e..118381975d996d33a8afbcc6ac58d741b0290063 100644
|
| --- a/Source/core/frame/DOMWindow.cpp
|
| +++ b/Source/core/frame/DOMWindow.cpp
|
| @@ -1848,6 +1848,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);
|
|
|