From bf6900fe796a697400203ab777001716f3d83a0a Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Fri, 28 Oct 2011 13:11:02 -0400 Subject: Fix plugin rendering bug when video surface is not ready. The browser incorrectly jumps out of the compositing step for a plugin early if it detects a video surface is not ready. The correct behavior is to skip rendering the video and proceed to rendering the other plugin contents. bug: 5525272 Change-Id: Id838f6cef4913e817f58bf2b7e17d871f9f0250e --- Source/WebCore/platform/graphics/android/MediaTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source') diff --git a/Source/WebCore/platform/graphics/android/MediaTexture.cpp b/Source/WebCore/platform/graphics/android/MediaTexture.cpp index 3b215ee..1676186 100644 --- a/Source/WebCore/platform/graphics/android/MediaTexture.cpp +++ b/Source/WebCore/platform/graphics/android/MediaTexture.cpp @@ -159,7 +159,7 @@ void MediaTexture::draw(const TransformationMatrix& contentMatrix, if (!video->surfaceTexture.get() || video->dimensions.isEmpty() || !video->mediaListener->isFrameAvailable()) - return; + continue; video->surfaceTexture->updateTexImage(); -- cgit v1.1