diff --git a/gfx/layers/client/ContentClient.cpp b/gfx/layers/client/ContentClient.cpp index ea87d142153..52952d14876 100644 --- a/gfx/layers/client/ContentClient.cpp +++ b/gfx/layers/client/ContentClient.cpp @@ -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); }