Bug 1110998 - Let the profiler turn on layers.dump-texture. r=mstange

This commit is contained in:
Benoit Girard
2014-12-12 16:11:57 -05:00
parent b46210a06d
commit 433462a3b6
5 changed files with 16 additions and 3 deletions

View File

@@ -607,7 +607,7 @@ TiledContentHost::PrintInfo(std::stringstream& aStream, const char* aPrefix)
aStream << nsPrintfCString("TiledContentHost (0x%p)", this).get();
#ifdef MOZ_DUMP_PAINTING
if (gfxPrefs::LayersDumpTexture()) {
if (gfxPrefs::LayersDumpTexture() || profiler_feature_active("layersdump")) {
nsAutoCString pfx(aPrefix);
pfx += " ";