| Index: net/cert/x509_util_android.cc
|
| diff --git a/net/cert/x509_util_android.cc b/net/cert/x509_util_android.cc
|
| index 447853e0980cba69ee77aae0d45705aaf1e57b04..ee47845f57e71f2c6eac2b03b87b0ee867b12788 100644
|
| --- a/net/cert/x509_util_android.cc
|
| +++ b/net/cert/x509_util_android.cc
|
| @@ -27,16 +27,6 @@ void RecordCertVerifyCapabilitiesHistogram(JNIEnv* env,
|
| }
|
| }
|
|
|
| -ScopedJavaLocalRef<jobject> GetApplicationContext(
|
| - JNIEnv* env,
|
| - const JavaParamRef<jclass>& clazz) {
|
| - ScopedJavaLocalRef<jobject> r;
|
| - // Must use Reset to force creation of a new local ref, instead of trying to
|
| - // adopt the global-ref'ed jobject as a local ref as the constructor would.
|
| - r.Reset(env, base::android::GetApplicationContext());
|
| - return r;
|
| -}
|
| -
|
| bool RegisterX509Util(JNIEnv* env) {
|
| return RegisterNativesImpl(env);
|
| }
|
|
|