Index: talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc |
diff --git a/talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc b/talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc |
index 8fd42a0a58228d0e703918b8809fe6d57cf2285b..8b5742fc01c4f49b1d73ec12ab3749e4583fda28 100644 |
--- a/talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc |
+++ b/talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc |
@@ -72,7 +72,7 @@ rtc::scoped_refptr<webrtc::VideoFrameBuffer> |
SurfaceTextureHelper::CreateTextureFrame(int width, int height, |
const NativeHandleImpl& native_handle) { |
return new rtc::RefCountedObject<AndroidTextureBuffer>( |
- width, height, native_handle, |
+ width, height, native_handle, *j_surface_texture_helper_, |
rtc::Bind(&SurfaceTextureHelper::ReturnTextureFrame, this)); |
} |