Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4008)

Unified Diff: base/android/apk_assets.cc

Issue 2237943002: Remove now-unnecessary .obj() in Java method calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch-context
Patch Set: Rebase *again* :( Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/native/token_binding_manager_bridge.cc ('k') | base/android/callback_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/apk_assets.cc
diff --git a/base/android/apk_assets.cc b/base/android/apk_assets.cc
index ec89b2da600f934a599dc7d0ceb1e719fa709625..2a433cc4eaef1309150fcdae276d33a302829c49 100644
--- a/base/android/apk_assets.cc
+++ b/base/android/apk_assets.cc
@@ -21,9 +21,8 @@ int OpenApkAsset(const std::string& file_path,
// raw resources :(.
JNIEnv* env = base::android::AttachCurrentThread();
ScopedJavaLocalRef<jlongArray> jarr = Java_ApkAssets_open(
- env,
- base::android::GetApplicationContext(),
- base::android::ConvertUTF8ToJavaString(env, file_path).obj());
+ env, base::android::GetApplicationContext(),
+ base::android::ConvertUTF8ToJavaString(env, file_path));
std::vector<jlong> results;
base::android::JavaLongArrayToLongVector(env, jarr.obj(), &results);
CHECK_EQ(3U, results.size());
« no previous file with comments | « android_webview/native/token_binding_manager_bridge.cc ('k') | base/android/callback_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698