Backed out changeset 554f6e2674fe (bug 1388319)
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 18 Aug 2017 11:53:27 -0400
changeset 423641 02e56d2e2c64d34976067ee52df34c15344be1de
parent 423640 554f6e2674fecadc3a66ec5a497bcaf7064068ee
child 423642 b25f3c5ec90497426da80de98f38d53282b835ba
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)
bugs1388319
milestone56.0
backs out554f6e2674fecadc3a66ec5a497bcaf7064068ee
Backed out changeset 554f6e2674fe (bug 1388319)
layout/style/ServoStyleSet.cpp
--- a/layout/style/ServoStyleSet.cpp
+++ b/layout/style/ServoStyleSet.cpp
@@ -76,19 +76,18 @@ ServoStyleSet::Init(nsPresContext* aPres
       // type, which this preserves.
 
       MOZ_ASSERT(sheet->RawContents(),
                  "We should only append non-null raw sheets.");
       Servo_StyleSet_AppendStyleSheet(mRawSet.get(), sheet);
     }
   }
 
-  // We added prefilled stylesheets into mRawSet, so the stylist is dirty.
-  // The Stylist should be updated later when necessary.
-  SetStylistStyleSheetsDirty();
+  // No need to Servo_StyleSet_FlushStyleSheets because we just created the
+  // mRawSet, so there was nothing to flush.
 }
 
 void
 ServoStyleSet::BeginShutdown()
 {
   nsIDocument* doc = mPresContext->Document();
 
   // Remove the style rule map from document's observer and drop it.