| Index: talk/app/webrtc/java/jni/peerconnection_jni.cc
|
| diff --git a/talk/app/webrtc/java/jni/peerconnection_jni.cc b/talk/app/webrtc/java/jni/peerconnection_jni.cc
|
| index c5de9654743e7d4e39eb6ddd1bbaaf8fe87ae5cb..67ddc8a3b1fd8f76a75f83bfbc21af0369c3219c 100644
|
| --- a/talk/app/webrtc/java/jni/peerconnection_jni.cc
|
| +++ b/talk/app/webrtc/java/jni/peerconnection_jni.cc
|
| @@ -142,22 +142,6 @@ static bool factory_static_initialized = false;
|
| static bool video_hw_acceleration_enabled = true;
|
| #endif
|
|
|
| -extern "C" jint JNIEXPORT JNICALL JNI_OnLoad(JavaVM *jvm, void *reserved) {
|
| - jint ret = InitGlobalJniVariables(jvm);
|
| - if (ret < 0)
|
| - return -1;
|
| -
|
| - RTC_CHECK(rtc::InitializeSSL()) << "Failed to InitializeSSL()";
|
| - LoadGlobalClassReferenceHolder();
|
| -
|
| - return ret;
|
| -}
|
| -
|
| -extern "C" void JNIEXPORT JNICALL JNI_OnUnLoad(JavaVM *jvm, void *reserved) {
|
| - FreeGlobalClassReferenceHolder();
|
| - RTC_CHECK(rtc::CleanupSSL()) << "Failed to CleanupSSL()";
|
| -}
|
| -
|
| // Return the (singleton) Java Enum object corresponding to |index|;
|
| // |state_class_fragment| is something like "MediaSource$State".
|
| static jobject JavaEnumFromIndex(
|
|
|