mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-01 03:57:30 +09:00
partly import changes from tenfourfox:
- #622: M1660537 M1641487(modified) M1645492 (291688840)
This commit is contained in:
parent
5f548d297e
commit
64ccce7c22
2 changed files with 8 additions and 33 deletions
|
|
@ -2432,6 +2432,10 @@ nsFrameLoader::CheckForRecursiveLoad(nsIURI* aURI)
|
|||
nsresult
|
||||
nsFrameLoader::GetWindowDimensions(nsIntRect& aRect)
|
||||
{
|
||||
if (!mOwnerContent) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
// Need to get outer window position here
|
||||
nsIDocument* doc = mOwnerContent->GetComposedDoc();
|
||||
if (!doc) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue