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

Commit 7b753cf1 authored by Derek Sollenberger's avatar Derek Sollenberger Committed by Android (Google) Code Review
Browse files

Merge "Update the rowBytes when reconfiguring to match the new imageInfo." into mnc-dev

parents d11ad51d 2a94a10b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -224,7 +224,7 @@ void Bitmap::reconfigure(const SkImageInfo& info, size_t rowBytes,
}

void Bitmap::reconfigure(const SkImageInfo& info) {
    reconfigure(info, mPixelRef->rowBytes(), mPixelRef->colorTable());
    reconfigure(info, info.minRowBytes(), nullptr);
}

void Bitmap::detachFromJava() {