[BlackBerry] Poor rendering opening a Google map short link
[WebKit-https.git] / Source / WebCore / platform / graphics / blackberry / LayerRenderer.cpp
index 23bb5f5310362b0a7c7e2aea91dbf1d1bb3034e4..c9c01e62e1e3932bc6ae128d238c31f72821d40c 100644 (file)
@@ -890,6 +890,9 @@ void LayerRenderer::compositeLayersRecursive(LayerCompositingThread* layer, int
     bool layerVisible = clipRect.intersects(rect);
 #endif
 
+    if (layer->isCanvasLayer())
+        layerVisible = layerVisible && layer->isVisible();
+
     layer->setVisible(layerVisible);
 
     // Note that there are two types of layers: