diff options
author | Chris Craik <ccraik@google.com> | 2012-06-21 15:52:20 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-06-21 15:52:20 -0700 |
commit | 67169ebc1651937450492ebea558fedda74ca50a (patch) | |
tree | dd84d0c270256cfa544cb11d4dccea4f5248935d /Source/WebCore/platform/graphics | |
parent | 74b2988a2845cac809d74813fde4e38b2f455431 (diff) | |
parent | 8ac8b3f2e5f239eb5068c9a5ac17dae28cceec8b (diff) | |
download | external_webkit-67169ebc1651937450492ebea558fedda74ca50a.zip external_webkit-67169ebc1651937450492ebea558fedda74ca50a.tar.gz external_webkit-67169ebc1651937450492ebea558fedda74ca50a.tar.bz2 |
am 8ac8b3f2: Merge "Make viewport dirtyness calculations recursive" into jb-dev
* commit '8ac8b3f2e5f239eb5068c9a5ac17dae28cceec8b':
Make viewport dirtyness calculations recursive
Diffstat (limited to 'Source/WebCore/platform/graphics')
-rw-r--r-- | Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp | 3 |
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) |