Bug 1157664 - Initialize mozilla::layers::FPSCOUNTER::mIteratorIndex. r=nical
authorMathieu Blot <mathieu.blot@phelma.grenoble-inp.fr>
Tue, 19 May 2015 17:08:48 +0200
changeset 266260 8964d03d95993a35709cc524e1d02df586b0cb87
parent 266259 fd77898fed812d263c8599ab14cd99e364ee4bc6
child 266261 00f2351e774460195fc920b9982618825d6f3ae1
push id2231
push usermichael.l.comella@gmail.com
push dateFri, 22 May 2015 20:04:59 +0000
reviewersnical
bugs1157664
milestone41.0a1
Bug 1157664 - Initialize mozilla::layers::FPSCOUNTER::mIteratorIndex. r=nical
gfx/layers/composite/FPSCounter.cpp
--- a/gfx/layers/composite/FPSCounter.cpp
+++ b/gfx/layers/composite/FPSCounter.cpp
@@ -24,16 +24,17 @@
 namespace mozilla {
 namespace layers {
 
 using namespace mozilla::gfx;
 using namespace mozilla::gl;
 
 FPSCounter::FPSCounter(const char* aName)
   : mWriteIndex(0)
+  , mIteratorIndex(-1)
   , mFPSName(aName)
 {
   Init();
 }
 
 FPSCounter::~FPSCounter() { }
 
 void