summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2012-01-06 15:16:44 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-06 15:16:44 -0800
commit422f9d3f7b0a4110e925506184ef381a816cdb92 (patch)
tree270b4b2e61e0301f3885323074f62f0c33159b58 /Source/WebCore/platform/graphics/android
parentcee3a1401cfbafc3ab1f97ebd50a671bb88324ab (diff)
parent04feb9aa968fefed404a3051de5cacaebaf0bcbb (diff)
downloadexternal_webkit-422f9d3f7b0a4110e925506184ef381a816cdb92.zip
external_webkit-422f9d3f7b0a4110e925506184ef381a816cdb92.tar.gz
external_webkit-422f9d3f7b0a4110e925506184ef381a816cdb92.tar.bz2
Merge "When loading progress is running, ask for redraw"
Diffstat (limited to 'Source/WebCore/platform/graphics/android')
-rw-r--r--Source/WebCore/platform/graphics/android/VideoLayerAndroid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/VideoLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/VideoLayerAndroid.cpp
index 3ec28e2..58f47d0 100644
--- a/Source/WebCore/platform/graphics/android/VideoLayerAndroid.cpp
+++ b/Source/WebCore/platform/graphics/android/VideoLayerAndroid.cpp
@@ -214,6 +214,7 @@ bool VideoLayerAndroid::drawGL()
if (m_playerState == PREPARING) {
// Show the progressing animation, with two rotating circles
showPreparingAnimation(rect, innerRect);
+ needRedraw = true;
} else if (m_playerState == PLAYING && m_surfaceTexture.get()) {
// Show the real video.
m_surfaceTexture->updateTexImage();