commit | 8ac8b3f2e5f239eb5068c9a5ac17dae28cceec8b | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Thu Jun 21 14:54:33 2012 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Jun 21 14:54:33 2012 -0700 |
tree | fdcc51d071724c6aa21a361d8fa737ddd9df848f | |
parent | c6d9134e49f290332ca788d10104749a37e9a727 [diff] | |
parent | 5425a4d7bc767c9d66275b496c4846f902399479 [diff] |
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)