Fix virtual dtor warning, no bug, blanker r=bz
authorDavid Zbarsky <dzbarsky@gmail.com>
Sat, 25 Aug 2012 12:33:51 -0400
changeset 105471 4a40ae179ea2d665a48979b7daaf741edcc54982
parent 105470 f7e7a78f6ff4bdaadeeb944a632ce16bb62dbc26
child 105472 4b46b309c12631fc1412cef7526fcc5dca5cb86e
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewersbz
milestone17.0a1
Fix virtual dtor warning, no bug, blanker r=bz
layout/style/ImageLoader.h
--- a/layout/style/ImageLoader.h
+++ b/layout/style/ImageLoader.h
@@ -8,28 +8,29 @@
 #include "nsAutoPtr.h"
 #include "nsClassHashtable.h"
 #include "nsHashKeys.h"
 #include "nsInterfaceHashtable.h"
 #include "nsCSSValue.h"
 #include "imgIRequest.h"
 #include "imgIOnloadBlocker.h"
 #include "nsStubImageDecoderObserver.h"
+#include "mozilla/Attributes.h"
 
 class nsIFrame;
 class nsIDocument;
 class nsPresContext;
 class nsIURI;
 class nsIPrincipal;
 
 namespace mozilla {
 namespace css {
 
-class ImageLoader : public nsStubImageDecoderObserver,
-                    public imgIOnloadBlocker {
+class ImageLoader MOZ_FINAL : public nsStubImageDecoderObserver,
+                              public imgIOnloadBlocker {
 public:
   typedef mozilla::css::ImageValue Image;
 
   ImageLoader(nsIDocument* aDocument)
   : mDocument(aDocument),
     mInClone(false)
   {
     MOZ_ASSERT(mDocument);