mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00
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:
parent
3fcc37f974
commit
7d8c4bbcef
@ -385,7 +385,7 @@ DisplayItemClip::Shutdown()
|
||||
gNoClip = nullptr;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef MOZ_DUMP_PAINTING
|
||||
nsCString
|
||||
DisplayItemClip::ToString() const
|
||||
{
|
||||
|
@ -153,7 +153,7 @@ public:
|
||||
|
||||
void MoveBy(nsPoint aPoint);
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef MOZ_DUMP_PAINTING
|
||||
nsCString ToString() const;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user