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

Unified Diff: ui/base/resource/resource_bundle_android.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 | « ui/base/l10n/l10n_util_android.cc ('k') | ui/events/android/key_event_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle_android.cc
diff --git a/ui/base/resource/resource_bundle_android.cc b/ui/base/resource/resource_bundle_android.cc
index bec09a3b9d3b4f21b7f6a2f012e78f586e8d2a50..58d70156b3eda37c530c2d76b7706e0cc20bc139 100644
--- a/ui/base/resource/resource_bundle_android.cc
+++ b/ui/base/resource/resource_bundle_android.cc
@@ -162,7 +162,7 @@ std::string GetPathForAndroidLocalePakWithinApk(const std::string& locale) {
JNIEnv* env = base::android::AttachCurrentThread();
base::android::ScopedJavaLocalRef<jstring> ret =
Java_ResourceBundle_getLocalePakResourcePath(
- env, base::android::ConvertUTF8ToJavaString(env, locale).obj());
+ env, base::android::ConvertUTF8ToJavaString(env, locale));
if (ret.obj() == nullptr) {
return std::string();
}
« no previous file with comments | « ui/base/l10n/l10n_util_android.cc ('k') | ui/events/android/key_event_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698