Bug 715232. Add some more MOZ_FINAL. r=joe

--HG--
extra : rebase_source : 1d4bf4c624dbbfd77b3a80f88478a87fa5df9506
This commit is contained in:
Jeff Muizelaar 2012-01-03 13:38:10 -05:00
parent 5957dd4b9c
commit dfce004451
2 changed files with 3 additions and 2 deletions

View File

@ -44,6 +44,7 @@
#include "nsIView.h"
#include "nsIWidget.h"
#include "mozilla/Attributes.h"
#include "mozilla/Services.h"
#include "mozilla/Preferences.h"
#include "nsIServiceManager.h"
@ -91,7 +92,7 @@ static nsSystemFontsAndroid *gSystemFonts = nsnull;
using namespace mozilla;
using mozilla::services::GetObserverService;
class nsFontCache : public nsIObserver
class nsFontCache MOZ_FINAL : public nsIObserver
{
public:
nsFontCache() { MOZ_COUNT_CTOR(nsFontCache); }

View File

@ -4336,7 +4336,7 @@ public:
nsChangeHint mChangeHint;
};
class LayerActivityTracker : public nsExpirationTracker<LayerActivity,4> {
class LayerActivityTracker MOZ_FINAL : public nsExpirationTracker<LayerActivity,4> {
public:
// 75-100ms is a good timeout period. We use 4 generations of 25ms each.
enum { GENERATION_MS = 100 };