| Index: webrtc/api/java/jni/androidvideocapturer_jni.cc
|
| diff --git a/webrtc/api/java/jni/androidvideocapturer_jni.cc b/webrtc/api/java/jni/androidvideocapturer_jni.cc
|
| index 5b4a92c6e872e84f06229af8dbf296044cd26d0d..7a5630f0d406e94f4821162e04b32495c43c2532 100644
|
| --- a/webrtc/api/java/jni/androidvideocapturer_jni.cc
|
| +++ b/webrtc/api/java/jni/androidvideocapturer_jni.cc
|
| @@ -52,13 +52,6 @@ AndroidVideoCapturerJni::~AndroidVideoCapturerJni() {
|
| *j_video_capturer_,
|
| GetMethodID(jni(), *j_video_capturer_class_, "dispose", "()V"));
|
| CHECK_EXCEPTION(jni()) << "error during VideoCapturer.dispose()";
|
| - if (surface_texture_helper_) {
|
| - jni()->CallVoidMethod(
|
| - surface_texture_helper_->GetJavaSurfaceTextureHelper(),
|
| - GetMethodID(jni(), FindClass(jni(), "org/webrtc/SurfaceTextureHelper"),
|
| - "dispose", "()V"));
|
| - }
|
| - CHECK_EXCEPTION(jni()) << "error during SurfaceTextureHelper.dispose()";
|
| }
|
|
|
| void AndroidVideoCapturerJni::Start(int width, int height, int framerate,
|
|
|