Commit 46b2f0f4 authored by twellington's avatar twellington Committed by Commit bot

Remove two unncessary lines from jni_array.cc

Remove two unneeded lines from JNIArray's
JavaArrayOfIntArrayToIntVector.

BUG=529915

Review URL: https://codereview.chromium.org/1424363003

Cr-Commit-Position: refs/heads/master@{#357184}
parent f3685a76
......@@ -245,9 +245,7 @@ void JavaArrayOfIntArrayToIntVector(
for (size_t i = 0; i < len; ++i) {
ScopedJavaLocalRef<jintArray> int_array(
env, static_cast<jintArray>(env->GetObjectArrayElement(array, i)));
jint* ints = env->GetIntArrayElements(int_array.obj(), nullptr);
JavaIntArrayToIntVector(env, int_array.obj(), &((*out)[i]));
env->ReleaseIntArrayElements(int_array.obj(), ints, JNI_ABORT);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment