Bug 971942: 4. layers.frame-counter, layers.draw-borders, layers.draw-tile-borders, layers.draw-bigimage-borders, layers.dump, layers.frame-counter, layers.progressive-paint, layers.low-precision-buffer moved to gfxPrefs. r=nsilva
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "gfxMatrix.h" // for gfxMatrix
|
||||
#include "gfxPlatform.h" // for gfxPlatform
|
||||
#include "gfxPrefs.h" // for gfxPrefs
|
||||
#include "gfxPoint.h" // for gfxIntSize, gfxPoint
|
||||
#include "gfxRect.h" // for gfxRect
|
||||
#include "gfxUtils.h" // for gfxUtils
|
||||
@@ -542,7 +543,7 @@ static uint16_t sFrameCount = 0;
|
||||
void
|
||||
BasicLayerManager::RenderDebugOverlay()
|
||||
{
|
||||
if (!gfxPlatform::DrawFrameCounter()) {
|
||||
if (!gfxPrefs::DrawFrameCounter()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user