forked from mirrors/gecko-dev
Bug 1792156. Fix width/height mixup from bug 1773813. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D158008
This commit is contained in:
parent
61eabf16a4
commit
daa8e98d8d
1 changed files with 1 additions and 1 deletions
|
|
@ -2158,7 +2158,7 @@ nsresult AppWindow::GetPrimaryContentShellSize(int32_t* aWidth,
|
|||
CSSIntSize size = RoundedToInt(
|
||||
shellWindow->GetSize() / shellWindow->UnscaledDevicePixelsPerCSSPixel());
|
||||
*aWidth = size.width;
|
||||
*aHeight = size.width;
|
||||
*aHeight = size.height;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue