roundOut layer damage

Bug: 16734708

Change-Id: I8815b7cf5f74be6deda98aaaf7cde85509def373
This commit is contained in:
John Reck
2014-08-05 11:03:42 -07:00
parent 43cc8bbbbd
commit c79eabcd3c

View File

@@ -184,7 +184,9 @@ void RenderNode::pushLayerUpdate(TreeInfo& info) {
return;
}
if (!dirty.isEmpty()) {
if (dirty.intersect(0, 0, getWidth(), getHeight())) {
dirty.roundOut();
mLayer->updateDeferred(this, dirty.fLeft, dirty.fTop, dirty.fRight, dirty.fBottom);
}
// This is not inside the above if because we may have called