Merge "Make viewport dirtyness calculations recursive" into jb-dev
diff --git a/Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp b/Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp
index d709a9c..228a30e 100644
--- a/Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp
+++ b/Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp
@@ -289,6 +289,9 @@
     IntRect dirtyArea(area.x(), area.y(), area.width(), area.height());
 
     state()->addDirtyArea(dirtyArea);
+
+    for (int i = 0; i < countChildren(); i++)
+        getChild(i)->addDirtyArea();
 }
 
 void LayerAndroid::addAnimation(PassRefPtr<AndroidAnimation> prpAnim)