mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 616812 Remove extraneous CRs r+a=dbaron
This commit is contained in:
parent
609169c5e7
commit
8a65245fa9
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user