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

Commit ef5af2b6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Move a shared pointer that's going to die anyway."

parents b6e7e753 b714acb9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -393,7 +393,7 @@ static jobject ImageDecoder_nDecodeBitmap(JNIEnv* env, jobject /*clazz*/, jlong
        canvas.drawBitmap(bm, 0.0f, 0.0f, &paint);

        bm.swap(scaledBm);
        nativeBitmap = scaledPixelRef;
        nativeBitmap = std::move(scaledPixelRef);
    }

    if (jpostProcess) {