use widget::GetScreenBounds to return window position. bug 5998. r:pierre.
git-svn-id: svn://10.0.0.236/trunk@56961 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user