Bug 616812 Remove extraneous CRs r+a=dbaron

This commit is contained in:
Neil Rashbrook 2011-02-16 21:39:52 +00:00
parent 609169c5e7
commit 8a65245fa9
3 changed files with 38 additions and 38 deletions

View File

@ -43,7 +43,7 @@
NS_IMPL_ADDREF(nsTimeRanges)
NS_IMPL_RELEASE(nsTimeRanges)
DOMCI_DATA(TimeRanges, nsTimeRanges)
DOMCI_DATA(TimeRanges, nsTimeRanges)
NS_INTERFACE_MAP_BEGIN(nsTimeRanges)
NS_INTERFACE_MAP_ENTRY(nsISupports)

View File

@ -1,7 +1,7 @@
#include "mozilla/PaintTracker.h"
namespace mozilla {
int PaintTracker::gPaintTracker;
} // namespace mozilla
#include "mozilla/PaintTracker.h"
namespace mozilla {
int PaintTracker::gPaintTracker;
} // namespace mozilla

View File

@ -1,30 +1,30 @@
#ifndef mozilla_PaintTracker_h
#define mozilla_PaintTracker_h
#include "nscore.h"
#include "nsDebug.h"
namespace mozilla {
class NS_STACK_CLASS PaintTracker
{
public:
PaintTracker() {
++gPaintTracker;
}
~PaintTracker() {
NS_ASSERTION(gPaintTracker > 0, "Mismatched constructor/destructor");
--gPaintTracker;
}
static bool IsPainting() {
return !!gPaintTracker;
}
private:
static int gPaintTracker;
};
} // namespace mozilla
#endif // mozilla_PaintTracker_h
#ifndef mozilla_PaintTracker_h
#define mozilla_PaintTracker_h
#include "nscore.h"
#include "nsDebug.h"
namespace mozilla {
class NS_STACK_CLASS PaintTracker
{
public:
PaintTracker() {
++gPaintTracker;
}
~PaintTracker() {
NS_ASSERTION(gPaintTracker > 0, "Mismatched constructor/destructor");
--gPaintTracker;
}
static bool IsPainting() {
return !!gPaintTracker;
}
private:
static int gPaintTracker;
};
} // namespace mozilla
#endif // mozilla_PaintTracker_h