Bug 1473776 - Remove out of date comment. r?emilio
MozReview-Commit-ID: 1FqcJpu5L81
--- 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 :)