mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
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:
parent
355ba0976d
commit
f36ec38554
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user