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

Unified Diff: base/test/test_file_util_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 | « base/message_loop/message_pump_android.cc ('k') | blimp/client/app/android/blimp_client_session_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_file_util_android.cc
diff --git a/base/test/test_file_util_android.cc b/base/test/test_file_util_android.cc
index 71f5dc52bf163d5385da89c0f25ca4a3128e30bf..f773af95ab60a827500c183d7c93da25df78ebfa 100644
--- a/base/test/test_file_util_android.cc
+++ b/base/test/test_file_util_android.cc
@@ -20,7 +20,7 @@ FilePath InsertImageIntoMediaStore(const FilePath& path) {
base::android::ConvertUTF8ToJavaString(env, path.value());
ScopedJavaLocalRef<jstring> j_uri =
Java_ContentUriTestUtils_insertImageIntoMediaStore(
- env, base::android::GetApplicationContext(), j_path.obj());
+ env, base::android::GetApplicationContext(), j_path);
std::string uri = base::android::ConvertJavaStringToUTF8(j_uri);
return FilePath(uri);
}
« no previous file with comments | « base/message_loop/message_pump_android.cc ('k') | blimp/client/app/android/blimp_client_session_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698