Bug 1410183 - Replace the useless layers-dump call with a slightly more useful if-0 block. r=jrmuizel

MozReview-Commit-ID: AEqJEiLZjmx

--HG--
extra : rebase_source : 7a503c9e8466d0619544c566709c9ec0e7e3144b
This commit is contained in:
Kartikaya Gupta 2017-10-19 14:02:48 -04:00
parent 355ba0976d
commit f36ec38554

View File

@ -252,9 +252,11 @@ WebRenderLayerManager::EndTransactionWithoutLayer(nsDisplayList* aDisplayList,
AUTO_PROFILER_TRACING("Paint", "RenderLayers");
mTransactionIncomplete = false;
if (gfxPrefs::LayersDump()) {
this->Dump();
}
#if 0
// Useful for debugging, it dumps the display list *before* we try to build
// WR commands from it
nsFrame::PrintDisplayList(aDisplayListBuilder, *aDisplayList);
#endif
// Since we don't do repeat transactions right now, just set the time
mAnimationReadyTime = TimeStamp::Now();