| Index: Source/core/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/Source/core/platform/graphics/GraphicsLayer.cpp b/Source/core/platform/graphics/GraphicsLayer.cpp
|
| index 6b6505187d94cf264d69571656488d616460a3b2..28655dcbd109a872b7c0d69a60b4debb5bd42c8d 100644
|
| --- a/Source/core/platform/graphics/GraphicsLayer.cpp
|
| +++ b/Source/core/platform/graphics/GraphicsLayer.cpp
|
| @@ -764,7 +764,7 @@ void GraphicsLayer::dumpProperties(TextStream& ts, int indent, LayerTreeFlags fl
|
| ts << ")\n";
|
| }
|
|
|
| - if (m_backgroundColor != Color::transparent) {
|
| + if (m_backgroundColor.isValid() && m_backgroundColor != Color::transparent) {
|
| writeIndent(ts, indent + 1);
|
| ts << "(backgroundColor " << m_backgroundColor.nameForRenderTreeAsText() << ")\n";
|
| }
|
|
|