Index: webrtc/api/java/jni/surfacetexturehelper_jni.h |
diff --git a/webrtc/api/java/jni/surfacetexturehelper_jni.h b/webrtc/api/java/jni/surfacetexturehelper_jni.h |
index d7a9a7707ab7471009b24ec5e4a6ad9e75d4a7db..6bee728d315a8b5efdb96380d8ed51d13ba649b7 100644 |
--- a/webrtc/api/java/jni/surfacetexturehelper_jni.h |
+++ b/webrtc/api/java/jni/surfacetexturehelper_jni.h |
@@ -49,14 +49,14 @@ class SurfaceTextureHelper : public rtc::RefCountInterface { |
int height, |
const NativeHandleImpl& native_handle); |
+ // May be called on arbitrary thread. |
+ void ReturnTextureFrame() const; |
+ |
protected: |
~SurfaceTextureHelper(); |
SurfaceTextureHelper(JNIEnv* jni, jobject j_surface_texture_helper); |
private: |
- // May be called on arbitrary thread. |
- void ReturnTextureFrame() const; |
- |
const ScopedGlobalRef<jobject> j_surface_texture_helper_; |
const jmethodID j_return_texture_method_; |
}; |