commit | fbbaa0a2aa240d7b7bd792970b2d1c1dfce04d7f | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Oct 15 20:14:00 2013 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Oct 15 20:14:00 2013 +0000 |
tree | 7102ba6c116649263679f24724aa8f74d98d3118 | |
parent | 270a9503d19a1d7d09f46a00089ddd191d58648f [diff] |
return false if we can't scale, to force us to try to lock the original and then proceed BUG= R=wangxianzhu@chromium.org Review URL: https://codereview.chromium.org/27382002 git-svn-id: http://skia.googlecode.com/svn/trunk/src@11789 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/core/SkBitmapProcState.cpp b/core/SkBitmapProcState.cpp index 2b0e557..69af8b9 100644 --- a/core/SkBitmapProcState.cpp +++ b/core/SkBitmapProcState.cpp
@@ -150,7 +150,7 @@ simd)) { // we failed to create fScaledBitmap, so just return and let // the scanline proc handle it. - return true; + return false; } fScaledCacheID = SkScaledImageCache::AddAndLock(fOrigBitmap,