summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-02-21 18:47:07 -0800
committerMathias Agopian <mathias@google.com>2012-02-21 18:47:07 -0800
commita994d85ef91efe1bf973dbd930ab5ed0ae234048 (patch)
treefa35b415d88cb41c4e3a6d478ca90de40adce061
parentf0190eaac5d750c08cf97a406f4945a910262543 (diff)
downloadexternal_webkit-a994d85ef91efe1bf973dbd930ab5ed0ae234048.zip
external_webkit-a994d85ef91efe1bf973dbd930ab5ed0ae234048.tar.gz
external_webkit-a994d85ef91efe1bf973dbd930ab5ed0ae234048.tar.bz2
remove dependency on RGB_332
Change-Id: I0103e263ec1b19e9dffc0aa63ac8affcbe578dec
-rw-r--r--Source/WebCore/platform/graphics/android/MediaTexture.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/MediaTexture.cpp b/Source/WebCore/platform/graphics/android/MediaTexture.cpp
index f3d1756..2582a53 100644
--- a/Source/WebCore/platform/graphics/android/MediaTexture.cpp
+++ b/Source/WebCore/platform/graphics/android/MediaTexture.cpp
@@ -191,8 +191,7 @@ void MediaTexture::draw(const TransformationMatrix& contentMatrix,
bool forceAlphaBlending = !(
PIXEL_FORMAT_RGBX_8888 == f ||
PIXEL_FORMAT_RGB_888 == f ||
- PIXEL_FORMAT_RGB_565 == f ||
- PIXEL_FORMAT_RGB_332 == f);
+ PIXEL_FORMAT_RGB_565 == f);
TilesManager::instance()->shader()->drawLayerQuad(contentMatrix,
mediaBounds,