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

MozReview-Commit-ID: AEqJEiLZjmx
This commit is contained in:
Kartikaya Gupta
2017-10-19 14:02:48 -04:00
parent 2f364b649e
commit e77901fdf4

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();