summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/layers
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-06-21 14:54:33 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-06-21 14:54:33 -0700
commit8ac8b3f2e5f239eb5068c9a5ac17dae28cceec8b (patch)
treefdcc51d071724c6aa21a361d8fa737ddd9df848f /Source/WebCore/platform/graphics/android/layers
parentc6d9134e49f290332ca788d10104749a37e9a727 (diff)
parent5425a4d7bc767c9d66275b496c4846f902399479 (diff)
downloadexternal_webkit-8ac8b3f2e5f239eb5068c9a5ac17dae28cceec8b.zip
external_webkit-8ac8b3f2e5f239eb5068c9a5ac17dae28cceec8b.tar.gz
external_webkit-8ac8b3f2e5f239eb5068c9a5ac17dae28cceec8b.tar.bz2
Merge "Make viewport dirtyness calculations recursive" into jb-dev
Diffstat (limited to 'Source/WebCore/platform/graphics/android/layers')
-rw-r--r--Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp3
1 files changed, 3 insertions, 0 deletions
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 @@ void LayerAndroid::addDirtyArea()
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)