From 89bb83abb420c126b02fcdd4047fd6574e9b73fc Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Fri, 29 May 2009 21:30:42 +0000 Subject: fix trailing-ws initialize fFlags in bitmapprocshader git-svn-id: http://skia.googlecode.com/svn/trunk@191 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkBitmap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/SkBitmap.cpp') diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp index d7a311e778..0a8e9ffdde 100644 --- a/src/core/SkBitmap.cpp +++ b/src/core/SkBitmap.cpp @@ -246,7 +246,7 @@ void SkBitmap::setConfig(Config c, int width, int height, int rowBytes) { goto ERROR; } } - + fConfig = SkToU8(c); fWidth = width; fHeight = height; @@ -927,7 +927,7 @@ void SkBitmap::buildMipMap(bool forceRebuild) { default: return; // don't build mipmaps for these configs } - + SkAutoLockPixels alp(*this); if (!this->readyToDraw()) { return; @@ -949,7 +949,7 @@ void SkBitmap::buildMipMap(bool forceRebuild) { maxLevels += 1; } } - + // nothing to build if (0 == maxLevels) { return; -- cgit v1.2.3