Index: base/android/apk_assets.cc |
diff --git a/base/android/apk_assets.cc b/base/android/apk_assets.cc |
index bcdac6db6ecaca5a908eee7f265321ee71477dd9..fab7fd017f49d316e81e5de08331a669414e0dc0 100644 |
--- a/base/android/apk_assets.cc |
+++ b/base/android/apk_assets.cc |
@@ -26,7 +26,7 @@ int OpenApkAsset(const std::string& file_path, |
ScopedJavaLocalRef<jlongArray> jarr = Java_ApkAssets_open( |
env, |
base::android::GetApplicationContext(), |
- base::android::ConvertUTF8ToJavaString(env, file_path).Release()); |
+ base::android::ConvertUTF8ToJavaString(env, file_path).obj()); |
std::vector<jlong> results; |
base::android::JavaLongArrayToLongVector(env, jarr.obj(), &results); |
CHECK_EQ(3U, results.size()); |