Bug 1473776 - Remove out of date comment. r?emilio draft
authorCameron McCormack <cam@mcc.id.au>
Fri, 06 Jul 2018 11:23:09 +1000
changeset 814721 e6baee5dc3b1e219e2282928dd97e12ed4f25640
parent 814720 341312047b2385f731fe645bc340240729295888
push id115327
push userbmo:cam@mcc.id.au
push dateFri, 06 Jul 2018 01:23:44 +0000
reviewersemilio
bugs1473776
milestone63.0a1
Bug 1473776 - Remove out of date comment. r?emilio MozReview-Commit-ID: 1FqcJpu5L81
layout/style/MediaList.h
--- a/layout/style/MediaList.h
+++ b/layout/style/MediaList.h
@@ -20,24 +20,16 @@ class nsIDocument;
 class nsPresContext;
 class nsMediaQueryResultCacheKey;
 
 namespace mozilla {
 class StyleSheet;
 
 namespace dom {
 
-// XXX This class doesn't use the branch dispatch approach that we use
-//     elsewhere for stylo, but instead just relies on virtual call.
-//     That's because this class should not be critical to performance,
-//     and using branch dispatch would make it much more complicated.
-//     Performance critical path should hold a subclass of this class
-//     directly. We may want to determine in the future whether the
-//     above is correct.
-
 class MediaList final : public nsISupports
                       , public nsWrapperCache
 {
 public:
   NS_DECL_CYCLE_COLLECTING_ISUPPORTS
   NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(MediaList)
 
   // Needed for CSSOM, but please don't use it outside of that :)