summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-06-21 16:47:33 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-06-21 16:47:33 -0700
commite3c7e2a1dd570cec9a47321ffdc7824995c85e82 (patch)
tree3cb36dff0879914af9244c85571441f974e8cc87 /Source/WebCore/platform/graphics
parent1c69f99d768580aaa997e6541deb0da2925ae2e9 (diff)
parent67169ebc1651937450492ebea558fedda74ca50a (diff)
downloadexternal_webkit-e3c7e2a1dd570cec9a47321ffdc7824995c85e82.zip
external_webkit-e3c7e2a1dd570cec9a47321ffdc7824995c85e82.tar.gz
external_webkit-e3c7e2a1dd570cec9a47321ffdc7824995c85e82.tar.bz2
am 67169ebc: am 8ac8b3f2: Merge "Make viewport dirtyness calculations recursive" into jb-dev
* commit '67169ebc1651937450492ebea558fedda74ca50a': Make viewport dirtyness calculations recursive
Diffstat (limited to 'Source/WebCore/platform/graphics')
-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 dde7e9b..438d96c 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)