Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c79eabcd authored by John Reck's avatar John Reck
Browse files

roundOut layer damage

 Bug: 16734708

Change-Id: I8815b7cf5f74be6deda98aaaf7cde85509def373
parent 43cc8bbb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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