diff options
author | Derek Sollenberger <djsollen@google.com> | 2011-10-28 13:11:02 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2011-10-28 13:21:54 -0400 |
commit | bf6900fe796a697400203ab777001716f3d83a0a (patch) | |
tree | da3f493fa0a11eb41cbcdd5130d4120bf7bdb946 /Source/WebCore/platform/graphics | |
parent | 75fd6068b065c26beb1ce4d86090aaacbe243c22 (diff) | |
download | external_webkit-bf6900fe796a697400203ab777001716f3d83a0a.zip external_webkit-bf6900fe796a697400203ab777001716f3d83a0a.tar.gz external_webkit-bf6900fe796a697400203ab777001716f3d83a0a.tar.bz2 |
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
Diffstat (limited to 'Source/WebCore/platform/graphics')
-rw-r--r-- | Source/WebCore/platform/graphics/android/MediaTexture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |