summaryrefslogtreecommitdiffstats
path: root/layout/xul
diff options
context:
space:
mode:
authorAndy <webmaster@RealityRipple.com>2020-08-02 08:01:58 -0700
committerAndy <webmaster@RealityRipple.com>2020-08-02 08:01:58 -0700
commita90b8d98e859ae71c74f2a8cb78b24899d879185 (patch)
tree0abe6cb4d2095121c732dfdcce0a258f51951103 /layout/xul
parentba0a2e796d890109e5ca175c1370709ca2955beb (diff)
downloadUXP-a90b8d98e859ae71c74f2a8cb78b24899d879185.tar
UXP-a90b8d98e859ae71c74f2a8cb78b24899d879185.tar.gz
UXP-a90b8d98e859ae71c74f2a8cb78b24899d879185.tar.lz
UXP-a90b8d98e859ae71c74f2a8cb78b24899d879185.tar.xz
UXP-a90b8d98e859ae71c74f2a8cb78b24899d879185.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.