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

Commit e488c209 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

Merge "Region cannot handle malformed Rects. Abort the Region op in that case."

parents 40b384b2 0857c8f7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -482,6 +482,7 @@ void Region::boolean_operation(int op, Region& dst,
    if (!rhs.isValid()) {
        LOGE("Region::boolean_operation(op=%d) invalid Rect={%d,%d,%d,%d}",
                op, rhs.left, rhs.top, rhs.right, rhs.bottom);
        return;
    }

#if VALIDATE_WITH_CORECG || VALIDATE_REGIONS