Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment