Bug 1519745 - Remove out of date comment in nsStyleSheetService::Init. r=emilio
authorCameron McCormack <cam@mcc.id.au>
Mon, 21 Jan 2019 09:43:41 +0000
changeset 454662 b277b79a2e7c6c35b74026ad58b844dca3b7d01f
parent 454661 1df92f5b3d7d6527b3ce0b4ef8850df5ee68cc19
child 454663 4c05fb631121d80c6c41a9b0ffcf3eeb9cd5459f
push id35409
push userrmaries@mozilla.com
push dateMon, 21 Jan 2019 17:48:45 +0000
treeherdermozilla-central@4977d02e1191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1519745
milestone66.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 1519745 - Remove out of date comment in nsStyleSheetService::Init. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D16427
layout/base/nsStyleSheetService.cpp
--- a/layout/base/nsStyleSheetService.cpp
+++ b/layout/base/nsStyleSheetService.cpp
@@ -90,19 +90,16 @@ int32_t nsStyleSheetService::FindSheetBy
       return i;
     }
   }
 
   return -1;
 }
 
 nsresult nsStyleSheetService::Init() {
-  // If you make changes here, consider whether
-  // SVGDocument::EnsureNonSVGUserAgentStyleSheetsLoaded should be updated too.
-
   // Child processes get their style sheets from the ContentParent.
   if (XRE_IsContentProcess()) {
     return NS_OK;
   }
 
   // Enumerate all of the style sheet URIs registered in the category
   // manager and load them.