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

Unified Diff: webrtc/sdk/android/src/jni/wrapped_native_i420_buffer.cc

Issue 3003213002: Android: Add common function for adding/releasing native reference (Closed)
Patch Set: Rebase Created 3 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 | « webrtc/sdk/android/src/jni/pc/rtpsender_jni.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/android/src/jni/wrapped_native_i420_buffer.cc
diff --git a/webrtc/sdk/android/src/jni/wrapped_native_i420_buffer.cc b/webrtc/sdk/android/src/jni/wrapped_native_i420_buffer.cc
index ea83597aeae5a71b74b427b5c55c85df0f50d72f..6a819e4a26fb0741b14453721723f8008d43cdde 100644
--- a/webrtc/sdk/android/src/jni/wrapped_native_i420_buffer.cc
+++ b/webrtc/sdk/android/src/jni/wrapped_native_i420_buffer.cc
@@ -46,20 +46,4 @@ jobject WrapI420Buffer(
return j_wrapped_native_i420_buffer;
}
-JNI_FUNCTION_DECLARATION(void,
- WrappedNativeI420Buffer_nativeAddRef,
- JNIEnv* jni,
- jclass,
- jlong j_buffer_pointer) {
- reinterpret_cast<webrtc::VideoFrameBuffer*>(j_buffer_pointer)->AddRef();
-}
-
-JNI_FUNCTION_DECLARATION(void,
- WrappedNativeI420Buffer_nativeRelease,
- JNIEnv* jni,
- jclass,
- jlong j_buffer_pointer) {
- reinterpret_cast<webrtc::VideoFrameBuffer*>(j_buffer_pointer)->Release();
-}
-
} // namespace webrtc_jni
« no previous file with comments | « webrtc/sdk/android/src/jni/pc/rtpsender_jni.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698