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

Unified Diff: net/cert/x509_util_android.cc

Issue 1308363003: Revert of jni_generator: Make all object-returning natives return ScopedJavaLocalRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « net/android/gurl_utils.cc ('k') | remoting/client/jni/chromoting_jni_runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/x509_util_android.cc
diff --git a/net/cert/x509_util_android.cc b/net/cert/x509_util_android.cc
index 92a797e9b292de8f393290da665b6a6e61ca9ba8..e3496b2db30ded757c7d798917eeec94e6095468 100644
--- a/net/cert/x509_util_android.cc
+++ b/net/cert/x509_util_android.cc
@@ -27,9 +27,8 @@
}
}
-ScopedJavaLocalRef<jobject> GetApplicationContext(JNIEnv* env, jclass clazz) {
- return ScopedJavaLocalRef<jobject>(env,
- base::android::GetApplicationContext());
+jobject GetApplicationContext(JNIEnv* env, jclass clazz) {
+ return base::android::GetApplicationContext();
}
bool RegisterX509Util(JNIEnv* env) {
« no previous file with comments | « net/android/gurl_utils.cc ('k') | remoting/client/jni/chromoting_jni_runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698