Bug 1792156. Fix width/height mixup from bug 1773813. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D158008
This commit is contained in:
Timothy Nikkel 2022-09-23 08:56:53 +00:00
parent 61eabf16a4
commit daa8e98d8d

View file

@ -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;
}