diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2011-06-20 15:38:29 -0700 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2011-06-20 15:38:29 -0700 |
commit | 4fd24e0fc4a8496f3311aa3716bd88c4fb0acc0e (patch) | |
tree | d5ae09ffa4a7e4e21cffc18f11675cabe7070e49 /Source/WebCore | |
parent | f9b7c71dcb7e4da11ba1fa03f71464f5f62efd9c (diff) | |
download | external_webkit-4fd24e0fc4a8496f3311aa3716bd88c4fb0acc0e.zip external_webkit-4fd24e0fc4a8496f3311aa3716bd88c4fb0acc0e.tar.gz external_webkit-4fd24e0fc4a8496f3311aa3716bd88c4fb0acc0e.tar.bz2 |
The background image should be opaque
bug:4406718
Change-Id: Iea532c639bf41aad2488819d42c315a0e3d747fd
Diffstat (limited to 'Source/WebCore')
-rw-r--r-- | Source/WebCore/platform/graphics/android/VideoLayerAndroid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/VideoLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/VideoLayerAndroid.cpp index aee5ae0..0f34c97 100644 --- a/Source/WebCore/platform/graphics/android/VideoLayerAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/VideoLayerAndroid.cpp @@ -168,7 +168,7 @@ bool VideoLayerAndroid::drawGL(GLWebViewState* glWebViewState, SkMatrix& matrix) // Show the progressing animation, with two rotating circles TilesManager::instance()->shader()->drawLayerQuad(drawTransform(), rect, m_backgroundTextureId, - 0.5, true); + 1, true); TransformationMatrix addReverseRotation; TransformationMatrix addRotation = drawTransform(); @@ -217,7 +217,7 @@ bool VideoLayerAndroid::drawGL(GLWebViewState* glWebViewState, SkMatrix& matrix) // Show the static poster b/c there is no screen shot available. TilesManager::instance()->shader()->drawLayerQuad(drawTransform(), rect, m_backgroundTextureId, - 0.5, true); + 1, true); TilesManager::instance()->shader()->drawLayerQuad(drawTransform(), innerRect, m_posterTextureId, 1, true); |