diff --git a/xpfe/appshell/src/nsWebShellWindow.cpp b/xpfe/appshell/src/nsWebShellWindow.cpp index e3ae618e7d1..ed914ace8a2 100644 --- a/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/xpfe/appshell/src/nsWebShellWindow.cpp @@ -2719,7 +2719,7 @@ NS_IMETHODIMP nsWebShellWindow::GetContentBounds(nsRect& aResult) NS_IMETHODIMP nsWebShellWindow::GetWindowBounds(nsRect& aResult) { - mWindow->GetBounds(aResult); + mWindow->GetScreenBounds(aResult); return NS_OK; }