Bug 677506 - Enable the DOM Memory Reporter. r=jst
authorMounir Lamouri <mounir.lamouri@gmail.com>
Thu, 11 Aug 2011 00:54:50 +0200
changeset 74235 3d584b604e7abd31f18bcb17d8b698b35fd83c89
parent 74234 96995a72c29db298a411e65306895ac917d0c522
child 74236 238609d8e4555428fbc9fda731f0ecb397a892c9
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersjst
bugs677506
milestone8.0a1
Bug 677506 - Enable the DOM Memory Reporter. r=jst
layout/build/nsLayoutStatics.cpp
--- a/layout/build/nsLayoutStatics.cpp
+++ b/layout/build/nsLayoutStatics.cpp
@@ -257,22 +257,17 @@ nsLayoutStatics::Initialize()
   nsRefreshDriver::InitializeStatics();
 
   nsCORSListenerProxy::Startup();
 
   nsFrameList::Init();
 
   NS_SealStaticAtomTable();
 
-// TODO: DOM_MEMORY_REPORTER should not be defined in a regular build for the
-// moment. This protection will be removed when bug 663271 will be close enough
-// to a shippable state.
-#ifdef DOM_MEMORY_REPORTER
   nsDOMMemoryReporter::Init();
-#endif
 
   return NS_OK;
 }
 
 void
 nsLayoutStatics::Shutdown()
 {
   // Don't need to shutdown nsDOMMemoryReporter, that will be done by the memory