Bug 859749 - Fix building with --enable-dump-painting and --disable-debug. r=mattwoodrow

DisplayItemClip::ToString should be in a MOZ_DUMP_PAINTING #ifdef, rather than
a generic DEBUG #ifdef.
This commit is contained in:
Chris Lord 2013-04-10 10:55:00 +01:00
parent 34283321b0
commit 9beede6ae7
2 changed files with 2 additions and 2 deletions

View File

@ -385,7 +385,7 @@ DisplayItemClip::Shutdown()
gNoClip = nullptr;
}
#ifdef DEBUG
#ifdef MOZ_DUMP_PAINTING
nsCString
DisplayItemClip::ToString() const
{

View File

@ -153,7 +153,7 @@ public:
void MoveBy(nsPoint aPoint);
#ifdef DEBUG
#ifdef MOZ_DUMP_PAINTING
nsCString ToString() const;
#endif