Index: gm/image.cpp |
diff --git a/gm/image.cpp b/gm/image.cpp |
index 03ed1059cf33298901f181cbd9401b4b5b309899..991b4014f02aa3bfff0a2a3126a29f5210a21591 100644 |
--- a/gm/image.cpp |
+++ b/gm/image.cpp |
@@ -214,7 +214,7 @@ static void show_scaled_pixels(SkCanvas* canvas, SkImage* image) { |
storage.alloc(info); |
const SkImage::CachingHint chints[] = { |
- SkImage::kAllow_CachingHint, // SkImage::kDisallow_CachingHint, |
+ SkImage::kAllow_CachingHint, SkImage::kDisallow_CachingHint, |
}; |
const SkFilterQuality qualities[] = { |
kNone_SkFilterQuality, kLow_SkFilterQuality, kMedium_SkFilterQuality, kHigh_SkFilterQuality, |
@@ -285,7 +285,7 @@ protected: |
const SkImageInfo info = SkImageInfo::MakeN32Premul(100, 100); |
const ImageMakerProc procs[] = { |
- make_raster, make_picture, make_codec, make_gpu, |
+ make_codec, make_raster, make_picture, make_codec, make_gpu, |
}; |
for (auto& proc : procs) { |
SkAutoTUnref<SkImage> image(proc(info, canvas->getGrContext())); |