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

Change #ifdef DEBUG to MOZ_DUMP_PAINTING for function AppUnitsPerDevPixel.
This commit is contained in:
Chris Lord 2012-10-15 19:56:11 +01:00
parent bbfd65ac41
commit 910224d867

View File

@ -1343,7 +1343,7 @@ ContainerState::CreateOrRecycleThebesLayer(const nsIFrame* aActiveScrolledRoot,
return layer.forget();
}
#ifdef DEBUG
#ifdef MOZ_DUMP_PAINTING
/**
* Returns the appunits per dev pixel for the item's frame. The item must
* have a frame because only nsDisplayClip items don't have a frame,