Bug 793498: Annotate nsMediaSniffer as MOZ_FINAL. r=padenot
authorDaniel Holbert <dholbert@cs.stanford.edu>
Sun, 23 Sep 2012 13:12:21 -0700
changeset 107967 f52262d00c0627fa35584615738906efba50dde1
parent 107966 d8211ef3df67c5c0aaa8b30a79133c7c09717b27
child 107968 0a2f1680ac8e90dc7a04abf0de08497e5864903d
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewerspadenot
bugs793498
milestone18.0a1
Bug 793498: Annotate nsMediaSniffer as MOZ_FINAL. r=padenot
toolkit/components/mediasniffer/nsMediaSniffer.h
--- a/toolkit/components/mediasniffer/nsMediaSniffer.h
+++ b/toolkit/components/mediasniffer/nsMediaSniffer.h
@@ -6,25 +6,26 @@
 
 
 #include "nsIModule.h"
 #include "nsIFactory.h"
 
 #include "nsIComponentManager.h"
 #include "nsIComponentRegistrar.h"
 #include "nsIContentSniffer.h"
+#include "mozilla/Attributes.h"
 
 // ed905ba3-c656-480e-934e-6bc35bd36aff
 #define NS_MEDIA_SNIFFER_CID \
 {0x3fdd6c28, 0x5b87, 0x4e3e, \
 {0x8b, 0x57, 0x8e, 0x83, 0xc2, 0x3c, 0x1a, 0x6d}}
 
 #define NS_MEDIA_SNIFFER_CONTRACTID "@mozilla.org/media/sniffer;1"
 
-class nsMediaSniffer : public nsIContentSniffer
+class nsMediaSniffer MOZ_FINAL : public nsIContentSniffer
 {
   public:
     NS_DECL_ISUPPORTS
     NS_DECL_NSICONTENTSNIFFER
   protected:
     ~nsMediaSniffer() {};
 
 #define PATTERN_ENTRY(mask, pattern, contentType) \