Index: Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp (revision 114754) |
+++ Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp (working copy) |
@@ -455,10 +455,7 @@ |
if (!tile->managedTexture()->reserve(m_tiler->tileSize(), m_textureFormat)) { |
m_skipsIdlePaint = true; |
if (!idle) { |
- // If the background covers the viewport, always draw this |
- // layer so that checkerboarded tiles will still draw. |
- if (!backgroundCoversViewport()) |
- m_skipsDraw = true; |
+ m_skipsDraw = true; |
m_tiler->reset(); |
m_paintRect = IntRect(); |
m_requestedUpdateTilesRect = IntRect(); |
@@ -582,7 +579,8 @@ |
{ |
if (m_skipsDraw) |
return Region(); |
- |
+ if (opaque()) |
+ return visibleLayerRect(); |
return m_tiler->opaqueRegionInLayerRect(visibleLayerRect()); |
} |