mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-30 11:18:39 +09:00
Issue #1619 - Nits Picked
This commit is contained in:
parent
217374ebf6
commit
f15f44b445
4 changed files with 8 additions and 8 deletions
|
|
@ -407,8 +407,7 @@ nsImageBoxFrame::PaintImage(nsRenderingContext& aRenderingContext,
|
|||
// Image has a valid size; use it as intrinsic size & ratio.
|
||||
intrinsicSize.width.SetCoordValue(mIntrinsicSize.width);
|
||||
intrinsicSize.height.SetCoordValue(mIntrinsicSize.height);
|
||||
intrinsicRatio =
|
||||
AspectRatio::FromSize(mIntrinsicSize);
|
||||
intrinsicRatio = AspectRatio::FromSize(mIntrinsicSize);
|
||||
} else {
|
||||
// Image doesn't have a (valid) intrinsic size.
|
||||
// Try to look up intrinsic ratio and use that at least.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue