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

Commit f61889a6 authored by Derek Sollenberger's avatar Derek Sollenberger Committed by Android Git Automerger
Browse files

am 7b753cf1: Merge "Update the rowBytes when reconfiguring to match the new...

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

* commit '7b753cf1':
  Update the rowBytes when reconfiguring to match the new imageInfo.
parents 1b61d8de 7b753cf1
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() {