Index: Source/core/frame/LocalDOMWindow.cpp |
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp |
index ef0b3771b8904be37c2380b0605896c8f7abe083..d75ac641891c40141fdff74490ad5149973bbe7e 100644 |
--- a/Source/core/frame/LocalDOMWindow.cpp |
+++ b/Source/core/frame/LocalDOMWindow.cpp |
@@ -1889,7 +1889,7 @@ void LocalDOMWindow::showModalDialog(const String& urlString, const String& dial |
if (!canShowModalDialogNow(frame()) || !enteredWindow->allowPopUp()) |
return; |
- UseCounter::countDeprecation(this, UseCounter::ShowModalDialog); |
+ UseCounter::countDeprecation(frame(), UseCounter::ShowModalDialog); |
WindowFeatures windowFeatures(dialogFeaturesString, screenAvailableRect(frame()->view())); |
LocalFrame* dialogFrame = createWindow(urlString, emptyAtom, windowFeatures, |