diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2012-01-06 15:16:44 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-01-06 15:16:44 -0800 |
commit | 422f9d3f7b0a4110e925506184ef381a816cdb92 (patch) | |
tree | 270b4b2e61e0301f3885323074f62f0c33159b58 /Source/WebCore/platform/graphics/android | |
parent | cee3a1401cfbafc3ab1f97ebd50a671bb88324ab (diff) | |
parent | 04feb9aa968fefed404a3051de5cacaebaf0bcbb (diff) | |
download | external_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.cpp | 1 |
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(); |