aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/factory.cpp')
-rw-r--r--gm/factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/factory.cpp b/gm/factory.cpp
index b55532ee8d..f4e8ae3b88 100644
--- a/gm/factory.cpp
+++ b/gm/factory.cpp
@@ -42,7 +42,7 @@ protected:
SkBitmapFactory factory(&SkImageDecoder::DecodeMemoryToTarget);
// Create a cache which will boot the pixels out anytime the
// bitmap is unlocked.
- SkAutoTUnref<SkLruImageCache> cache(SkNEW_ARGS(SkLruImageCache, (0)));
+ SkAutoTUnref<SkLruImageCache> cache(SkNEW_ARGS(SkLruImageCache, (1)));
factory.setImageCache(cache);
factory.installPixelRef(data, &fBitmap);
}