From 133cb4a5517376f27f8283206e68a28c5de8ccba Mon Sep 17 00:00:00 2001 From: James Willcox Date: Fri, 31 Jan 2014 11:41:43 -0600 Subject: [PATCH] Bug 966344 - Use correct JNI call to invoke SurfaceTexture::updateTexImage() r=jchen --- gfx/thebes/nsSurfaceTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/thebes/nsSurfaceTexture.cpp b/gfx/thebes/nsSurfaceTexture.cpp index ec78f8144e4..45771c1ca3c 100644 --- a/gfx/thebes/nsSurfaceTexture.cpp +++ b/gfx/thebes/nsSurfaceTexture.cpp @@ -70,7 +70,7 @@ public: JNIEnv* env = GetJNIForThread(); AutoLocalJNIFrame jniFrame(env); - env->CallObjectMethod(aSurfaceTexture, jSurfaceTexture_updateTexImage); + env->CallVoidMethod(aSurfaceTexture, jSurfaceTexture_updateTexImage); } bool GetTransformMatrix(jobject aSurfaceTexture, gfx::Matrix4x4& aMatrix)