Bug 1208661 - Make ContentClient dumping play nicely with HTML dumping. r=BenWa

This commit is contained in:
Botond Ballo 2015-09-25 19:19:04 -04:00
parent 43603efbe9
commit a2efc1f565

View File

@ -415,7 +415,9 @@ ContentClientDoubleBuffered::Dump(std::stringstream& aStream,
bool aDumpHtml)
{
// TODO We should combine the OnWhite/OnBlack here an just output a single image.
aStream << "\n" << aPrefix << "Surface: ";
if (!aDumpHtml) {
aStream << "\n" << aPrefix << "Surface: ";
}
CompositableClient::DumpTextureClient(aStream, mFrontClient);
}