diff options
author | Andy <webmaster@RealityRipple.com> | 2020-08-02 08:01:58 -0700 |
---|---|---|
committer | Andy <webmaster@RealityRipple.com> | 2020-08-02 08:01:58 -0700 |
commit | a90b8d98e859ae71c74f2a8cb78b24899d879185 (patch) | |
tree | 0abe6cb4d2095121c732dfdcce0a258f51951103 /layout/xul | |
parent | ba0a2e796d890109e5ca175c1370709ca2955beb (diff) | |
download | UXP-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.cpp | 3 |
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. |