Permalink
Browse files

Merge "Make viewport dirtyness calculations recursive" into jb-dev

  • Loading branch information...
2 parents c6d9134 + 5425a4d commit 8ac8b3f2e5f239eb5068c9a5ac17dae28cceec8b @ChrisCraik ChrisCraik committed with Android (Google) Code Review Jun 21, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 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)

0 comments on commit 8ac8b3f

Please sign in to comment.