From a9663891390340002ce6f4fd13a65825887be056 Mon Sep 17 00:00:00 2001 From: Kyle Thomas Date: Tue, 3 Mar 2015 18:47:00 -0500 Subject: [PATCH] Bug 1137004 - Changed the location of the counter so when it is used in a maximized window it is no longer cut off, and added a little left padding. r=mattwoodrow --- gfx/layers/composite/LayerManagerComposite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/layers/composite/LayerManagerComposite.cpp b/gfx/layers/composite/LayerManagerComposite.cpp index 814a8bddb7e..9204260d30e 100644 --- a/gfx/layers/composite/LayerManagerComposite.cpp +++ b/gfx/layers/composite/LayerManagerComposite.cpp @@ -443,7 +443,7 @@ LayerManagerComposite::RenderDebugOverlay(const Rect& aBounds) #endif float fillRatio = mCompositor->GetFillRatio(); - mFPS->DrawFPS(now, drawFrameColorBars ? 10 : 0, 0, unsigned(fillRatio), mCompositor); + mFPS->DrawFPS(now, drawFrameColorBars ? 10 : 1, 2, unsigned(fillRatio), mCompositor); if (mUnusedApzTransformWarning) { // If we have an unused APZ transform on this composite, draw a 20x20 red box