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