Index: Source/WebCore/platform/graphics/chromium/GraphicsLayerChromium.cpp |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/GraphicsLayerChromium.cpp (revision 147437) |
+++ Source/WebCore/platform/graphics/chromium/GraphicsLayerChromium.cpp (working copy) |
@@ -524,7 +524,7 @@ |
m_contentsSolidColor = color; |
- if (color.isValid()) { |
+ if (color.isValid() && color.alpha()) { |
if (!m_contentsSolidColorLayer) { |
m_contentsSolidColorLayer = adoptPtr(Platform::current()->compositorSupport()->createSolidColorLayer()); |
registerContentsLayer(m_contentsSolidColorLayer->layer()); |