Bug 1516454 - Remove an extra brace on a CLOSED TREE, whoops. r=me
☠☠ backed out by 987a62667969 ☠ ☠
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 25 Feb 2019 13:43:33 -0800
changeset 518871 180c7672c57cfdcfd0f0753b994d16945dbfae81
parent 518870 bda89c19aff646fdec451217bb418d225c0cee4b
child 518872 58727c80f9c7e73da8e49d8e3915bede97196588
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1516454
milestone67.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 1516454 - Remove an extra brace on a CLOSED TREE, whoops. r=me
layout/style/nsStyleStruct.cpp
--- a/layout/style/nsStyleStruct.cpp
+++ b/layout/style/nsStyleStruct.cpp
@@ -239,17 +239,17 @@ nsChangeHint nsStylePadding::CalcDiffere
 
 static nscoord TwipsPerPixel(const Document& aDocument) {
   auto* pc = aDocument.GetPresContext();
   return pc ? pc->AppUnitsPerDevPixel() : mozilla::AppUnitsPerCSSPixel();
 }
 
 static inline BorderRadius ZeroBorderRadius() {
   auto zero = LengthPercentage::Zero();
-  return {{{zero, zero}}}, {{zero, zero}}, {{zero, zero}}, {{zero, zero}}};
+  return {{{zero, zero}}, {{zero, zero}}, {{zero, zero}}, {{zero, zero}}};
 }
 
 nsStyleBorder::nsStyleBorder(const Document& aDocument)
     : mBorderRadius(ZeroBorderRadius())
     , mBorderImageOutset(
           StyleRectWithAllSides(StyleNonNegativeLengthOrNumber::Number(0.))),
       mBorderImageSlice(
           {StyleRectWithAllSides(StyleNumberOrPercentage::Percentage({1.})),