scope ComputeIsOpaque with SkBitmap
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 21 Oct 2013 14:31:20 +0000 (14:31 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 21 Oct 2013 14:31:20 +0000 (14:31 +0000)
BUG=

Review URL: https://codereview.chromium.org/32653002

git-svn-id: http://skia.googlecode.com/svn/trunk@11879 2bbb7eff-a529-9590-31e7-b0007b416f81

src/ports/SkImageDecoder_WIC.cpp

index 1bda67f..9aaed86 100644 (file)
@@ -240,7 +240,7 @@ bool SkImageDecoder_WIC::decodeStream(SkStream* stream, SkBitmap* bm, WICModes w
         );
 
         // Note: we don't need to premultiply here since we specified PBGRA
-        if (ComputeIsOpaque(*bm)) {
+        if (SkBitmap::ComputeIsOpaque(*bm)) {
             bm->setAlphaType(kOpaque_SkAlphaType);
         }
     }