[BlackBerry] LayerTiler: rename currentFrameHasAlpha as currentFrameKnownToBeOpaque
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Mar 2013 09:21:24 +0000 (09:21 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Mar 2013 09:21:24 +0000 (09:21 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111828

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-08
Reviewed by Carlos Garcia Campos.

This changed in r141637.

* platform/graphics/blackberry/LayerTiler.cpp:
(WebCore::LayerTiler::updateTextureContentsIfNeeded):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@145193 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/blackberry/LayerTiler.cpp

index 028c822..37160de 100644 (file)
@@ -1,3 +1,15 @@
+2013-03-08  Alberto Garcia  <agarcia@igalia.com>
+
+        [BlackBerry] LayerTiler: rename currentFrameHasAlpha as currentFrameKnownToBeOpaque
+        https://bugs.webkit.org/show_bug.cgi?id=111828
+
+        Reviewed by Carlos Garcia Campos.
+
+        This changed in r141637.
+
+        * platform/graphics/blackberry/LayerTiler.cpp:
+        (WebCore::LayerTiler::updateTextureContentsIfNeeded):
+
 2013-03-08  Antoine Quint  <graouts@apple.com>
 
         Fix a couple of typos.
index fd12109..5d080d0 100644 (file)
@@ -256,7 +256,7 @@ void LayerTiler::updateTextureContentsIfNeeded(double scale)
 
             bool isOpaque = false;
             if (image->isBitmapImage())
-                isOpaque = !static_cast<BitmapImage*>(image)->currentFrameHasAlpha();
+                isOpaque = static_cast<BitmapImage*>(image)->currentFrameKnownToBeOpaque();
             addTextureJob(TextureJob::setContents(buffer, contentsRect, isOpaque));
         }
     } else if (m_layer->drawsContent()) {