| Index: talk/app/webrtc/java/jni/native_handle_impl.h | 
| diff --git a/talk/app/webrtc/java/jni/native_handle_impl.h b/talk/app/webrtc/java/jni/native_handle_impl.h | 
| index aeb5631519725ab92aad8002c3e5e35c48c4a732..7b657d4cc50e1502672831326cedfa20296dd180 100644 | 
| --- a/talk/app/webrtc/java/jni/native_handle_impl.h | 
| +++ b/talk/app/webrtc/java/jni/native_handle_impl.h | 
| @@ -36,51 +36,26 @@ | 
| namespace webrtc_jni { | 
|  | 
| // Wrapper for texture object. | 
| -struct NativeTextureHandleImpl { | 
| -  NativeTextureHandleImpl(JNIEnv* jni, | 
| -                          jint j_oes_texture_id, | 
| -                          jfloatArray j_transform_matrix); | 
| +struct NativeHandleImpl { | 
| +  NativeHandleImpl(JNIEnv* jni, | 
| +                   jint j_oes_texture_id, | 
| +                   jfloatArray j_transform_matrix); | 
|  | 
| const int oes_texture_id; | 
| float sampling_matrix[16]; | 
| }; | 
|  | 
| -// Native handle for SurfaceTexture + texture id. | 
| -class NativeHandleImpl { | 
| - public: | 
| -  NativeHandleImpl(); | 
| - | 
| -  void* GetHandle(); | 
| -  int GetTextureId(); | 
| -  void SetTextureObject(void* texture_object, int texture_id); | 
| - | 
| - private: | 
| -  jobject texture_object_; | 
| -  int32_t texture_id_; | 
| -}; | 
| - | 
| -class JniNativeHandleBuffer : public webrtc::NativeHandleBuffer { | 
| - public: | 
| -  JniNativeHandleBuffer(void* native_handle, int width, int height); | 
| - | 
| -  // TODO(pbos): Override destructor to release native handle, at the moment the | 
| -  // native handle is not released based on refcount. | 
| - | 
| - private: | 
| -  rtc::scoped_refptr<webrtc::VideoFrameBuffer> NativeToI420Buffer() override; | 
| -}; | 
| - | 
| class AndroidTextureBuffer : public webrtc::NativeHandleBuffer { | 
| public: | 
| AndroidTextureBuffer(int width, | 
| int height, | 
| -                       const NativeTextureHandleImpl& native_handle, | 
| +                       const NativeHandleImpl& native_handle, | 
| const rtc::Callback0<void>& no_longer_used); | 
| ~AndroidTextureBuffer(); | 
| rtc::scoped_refptr<VideoFrameBuffer> NativeToI420Buffer() override; | 
|  | 
| private: | 
| -  NativeTextureHandleImpl native_handle_; | 
| +  NativeHandleImpl native_handle_; | 
| rtc::Callback0<void> no_longer_used_cb_; | 
| }; | 
|  | 
|  |