| Index: Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp
|
| index 501b806c1bfeaf9747b213368ebefba45792bea5..e1c27e2ccb2fdd091b507240a7d300c1c5220fa7 100644
|
| --- a/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -725,6 +725,19 @@ void GraphicsLayer::dumpProperties(TextStream& ts, int indent, LayerTreeFlags fl
|
| }
|
| }
|
|
|
| + if (flags & LayerTreeIncludesDebugInfo) {
|
| + writeIndent(ts, indent + 1);
|
| + ts << "(compositingReasons\n";
|
| + for (size_t i = 0; i < WTF_ARRAY_LENGTH(compositingReasonStringMap); ++i) {
|
| + if (m_debugInfo.compositingReasons() & compositingReasonStringMap[i].reason) {
|
| + writeIndent(ts, indent + 2);
|
| + ts << compositingReasonStringMap[i].description << "\n";
|
| + }
|
| + }
|
| + writeIndent(ts, indent + 1);
|
| + ts << ")\n";
|
| + }
|
| +
|
| if (m_children.size()) {
|
| writeIndent(ts, indent + 1);
|
| ts << "(children " << m_children.size() << "\n";
|
|
|