Bug 1381083: Preliminary alignment and whitespace fixup. r=heycam
authorEmilio Cobos Álvarez <emilio@crisal.io>
Thu, 27 Jul 2017 00:28:52 +0200
changeset 422750 dc839a86967dafca35021b3744f6dfb39264179f
parent 422749 258d81d739533da1d4753741119bfd18c2176483
child 422751 b8755e706ea7ca93ba444ecfc3eb0fdf60e17131
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1381083
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1381083: Preliminary alignment and whitespace fixup. r=heycam MozReview-Commit-ID: 9V7pqVMOAqo
layout/style/nsComputedDOMStyle.cpp
--- a/layout/style/nsComputedDOMStyle.cpp
+++ b/layout/style/nsComputedDOMStyle.cpp
@@ -632,19 +632,19 @@ nsComputedDOMStyle::DoGetStyleContextNoF
           nsPresContext* presContext = presShell->GetPresContext();
           MOZ_ASSERT(presContext, "Should have a prescontext if we have a frame");
           if (presContext && presContext->StyleSet()->IsGecko()) {
             nsStyleSet* styleSet = presContext->StyleSet()->AsGecko();
             return styleSet->ResolveStyleByRemovingAnimation(
                      aElement, result->AsGecko(),
                      eRestyle_AllHintsWithAnimations);
           } else {
-              return presContext->StyleSet()->AsServo()->
-                GetBaseContextForElement(aElement, nullptr, presContext,
-                                         aPseudo, pseudoType, result->AsServo());
+            return presContext->StyleSet()->AsServo()->
+              GetBaseContextForElement(aElement, nullptr, presContext,
+                                       aPseudo, pseudoType, result->AsServo());
           }
         }
 
         // this function returns an addrefed style context
         RefPtr<nsStyleContext> ret = result;
         return ret.forget();
       }
     }
@@ -5398,17 +5398,16 @@ nsComputedDOMStyle::GetStickyOffset(mozi
 
   val->SetAppUnits(StyleCoordToNSCoord(coord, baseGetter, 0, false));
   return val.forget();
 }
 
 
 already_AddRefed<CSSValue>
 nsComputedDOMStyle::GetStaticOffset(mozilla::Side aSide)
-
 {
   RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
   SetValueToCoord(val, StylePosition()->mOffset.Get(aSide), false);
   return val.forget();
 }
 
 already_AddRefed<CSSValue>
 nsComputedDOMStyle::GetPaddingWidthFor(mozilla::Side aSide)