summaryrefslogtreecommitdiffstats
path: root/layout/xul
diff options
context:
space:
mode:
authorAndy <webmaster@RealityRipple.com>2020-08-02 08:01:58 -0700
committerMoonchild <moonchild@palemoon.org>2020-08-07 21:28:03 +0000
commit83ae5bd01967dc8eceba5b4c16ff380ac3679406 (patch)
tree7267a38412ffcb04362b1f45b1608e95e0146739 /layout/xul
parentc237a54f23ec968feffc6e86870abd512414829a (diff)
downloadUXP-83ae5bd01967dc8eceba5b4c16ff380ac3679406.tar
UXP-83ae5bd01967dc8eceba5b4c16ff380ac3679406.tar.gz
UXP-83ae5bd01967dc8eceba5b4c16ff380ac3679406.tar.lz
UXP-83ae5bd01967dc8eceba5b4c16ff380ac3679406.tar.xz
UXP-83ae5bd01967dc8eceba5b4c16ff380ac3679406.zip
Issue #1619 - Nits Picked
Diffstat (limited to 'layout/xul')
-rw-r--r--layout/xul/nsImageBoxFrame.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/layout/xul/nsImageBoxFrame.cpp b/layout/xul/nsImageBoxFrame.cpp
index 5286b6d88..aa00c5174 100644
--- a/layout/xul/nsImageBoxFrame.cpp
+++ b/layout/xul/nsImageBoxFrame.cpp
@@ -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.