diff --git a/layout/base/nsLayoutUtils.h b/layout/base/nsLayoutUtils.h index bbbc669f4be4..c67b5641eea5 100644 --- a/layout/base/nsLayoutUtils.h +++ b/layout/base/nsLayoutUtils.h @@ -786,12 +786,12 @@ class nsLayoutUtils { float mVisibleThreshold; FrameForPointOptions(Bits aBits, float aVisibleThreshold) - : mBits(aBits), mVisibleThreshold(aVisibleThreshold){}; + : mBits(aBits), mVisibleThreshold(aVisibleThreshold) {}; MOZ_IMPLICIT FrameForPointOptions(Bits aBits) : FrameForPointOptions(aBits, 1.0f) {} - FrameForPointOptions() : FrameForPointOptions(Bits()){}; + FrameForPointOptions() : FrameForPointOptions(Bits()) {}; }; /** diff --git a/layout/painting/nsCSSRendering.cpp b/layout/painting/nsCSSRendering.cpp index 021e1fabba50..cb7ef735b453 100644 --- a/layout/painting/nsCSSRendering.cpp +++ b/layout/painting/nsCSSRendering.cpp @@ -1151,10 +1151,9 @@ static nsIFrame* GetPageSequenceForCanvas(const nsIFrame* aCanvasFrame) { return ps; } -auto nsCSSRendering::FindEffectiveBackgroundColor(nsIFrame* aFrame, - bool aStopAtThemed, - bool aPreferBodyToCanvas) - -> EffectiveBackgroundColor { +auto nsCSSRendering::FindEffectiveBackgroundColor( + nsIFrame* aFrame, bool aStopAtThemed, + bool aPreferBodyToCanvas) -> EffectiveBackgroundColor { MOZ_ASSERT(aFrame); nsPresContext* pc = aFrame->PresContext(); auto BgColorIfNotTransparent = [&](nsIFrame* aFrame) -> Maybe { diff --git a/widget/Theme.cpp b/widget/Theme.cpp index 41f861492886..1b0979222cd3 100644 --- a/widget/Theme.cpp +++ b/widget/Theme.cpp @@ -189,8 +189,8 @@ void Theme::LookAndFeelChanged() { } } -auto Theme::GetDPIRatio(nsPresContext* aPc, StyleAppearance aAppearance) - -> DPIRatio { +auto Theme::GetDPIRatio(nsPresContext* aPc, + StyleAppearance aAppearance) -> DPIRatio { // Widgets react to zoom, except scrollbars. if (IsWidgetScrollbarPart(aAppearance)) { return GetScrollbarDrawing().GetDPIRatioForScrollbarPart(aPc); @@ -198,8 +198,8 @@ auto Theme::GetDPIRatio(nsPresContext* aPc, StyleAppearance aAppearance) return DPIRatio(float(AppUnitsPerCSSPixel()) / aPc->AppUnitsPerDevPixel()); } -auto Theme::GetDPIRatio(nsIFrame* aFrame, StyleAppearance aAppearance) - -> DPIRatio { +auto Theme::GetDPIRatio(nsIFrame* aFrame, + StyleAppearance aAppearance) -> DPIRatio { return GetDPIRatio(aFrame->PresContext(), aAppearance); }