[chromium] Don't crash if tile upload happens without painting first
[WebKit-https.git] / Source / WebCore / platform / graphics / chromium / ImageLayerChromium.cpp
index 4eb65d4..4fb9574 100644 (file)
@@ -178,9 +178,6 @@ void ImageLayerChromium::paintContentsIfDirty()
         }
     }
 
-    if (visibleLayerRect().isEmpty())
-        return;
-
     prepareToUpdate(visibleLayerRect());
 }