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:
Milan Sreckovic
2014-02-26 21:53:31 -05:00
parent 049b2dfae4
commit 051f75b5f4
8 changed files with 29 additions and 125 deletions

View File

@@ -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;
}