Index: webrtc/api/java/jni/peerconnection_jni.cc |
diff --git a/webrtc/api/java/jni/peerconnection_jni.cc b/webrtc/api/java/jni/peerconnection_jni.cc |
index 1ff471b9bc711e913ea9a009175bb1a557c5367b..d2fe15a0e5ce7b2f5cf10679afbccd62a3b6eb47 100644 |
--- a/webrtc/api/java/jni/peerconnection_jni.cc |
+++ b/webrtc/api/java/jni/peerconnection_jni.cc |
@@ -1956,14 +1956,6 @@ JOW(jobject, MediaStreamTrack_nativeState)(JNIEnv* jni, jclass, jlong j_p) { |
reinterpret_cast<MediaStreamTrackInterface*>(j_p)->state()); |
} |
-JOW(jboolean, MediaStreamTrack_nativeSetState)( |
- JNIEnv* jni, jclass, jlong j_p, jint j_new_state) { |
- MediaStreamTrackInterface::TrackState new_state = |
- (MediaStreamTrackInterface::TrackState)j_new_state; |
- return reinterpret_cast<MediaStreamTrackInterface*>(j_p) |
- ->set_state(new_state); |
-} |
- |
JOW(jboolean, MediaStreamTrack_nativeSetEnabled)( |
JNIEnv* jni, jclass, jlong j_p, jboolean enabled) { |
return reinterpret_cast<MediaStreamTrackInterface*>(j_p) |