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/generic/nsVideoFrame.cpp | |
parent | ba0a2e796d890109e5ca175c1370709ca2955beb (diff) | |
download | uxp-a90b8d98e859ae71c74f2a8cb78b24899d879185.tar.gz |
Issue #1619 - Nits Picked
Diffstat (limited to 'layout/generic/nsVideoFrame.cpp')
-rw-r--r-- | layout/generic/nsVideoFrame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layout/generic/nsVideoFrame.cpp b/layout/generic/nsVideoFrame.cpp index 6bd6395a32..0472ebe626 100644 --- a/layout/generic/nsVideoFrame.cpp +++ b/layout/generic/nsVideoFrame.cpp @@ -531,9 +531,9 @@ nsVideoFrame::ComputeSize(nsRenderingContext *aRenderingContext, intrinsicSize.height.SetCoordValue(size.height); // Only video elements have an intrinsic ratio. - auto intrinsicRatio = HasVideoElement() - ? AspectRatio::FromSize(size) - : AspectRatio(); + auto intrinsicRatio = HasVideoElement() ? + AspectRatio::FromSize(size) : + AspectRatio(); return ComputeSizeWithIntrinsicDimensions(aRenderingContext, aWM, intrinsicSize, intrinsicRatio, |