diff options
author | reed <reed@google.com> | 2014-08-28 13:35:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-28 13:35:23 -0700 |
commit | 011f39aeb2b9715546eb74d9ebb71be7baf95fde (patch) | |
tree | 53256ae14d50c54ba1c022d9829a8cfbc3244726 /tests/CachedDecodingPixelRefTest.cpp | |
parent | 7ba2828aa6687f9d12f4fa0b0a2ef9a9dc2efa68 (diff) |
rename ScaledImageCache to ResourceCache
BUG=skia:
R=bsalomon@google.com, mtklein@google.com
Author: reed@google.com
Review URL: https://codereview.chromium.org/511283002
Diffstat (limited to 'tests/CachedDecodingPixelRefTest.cpp')
-rw-r--r-- | tests/CachedDecodingPixelRefTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp index e9ee622764..65623d0e4f 100644 --- a/tests/CachedDecodingPixelRefTest.cpp +++ b/tests/CachedDecodingPixelRefTest.cpp @@ -13,7 +13,7 @@ #include "SkDiscardableMemoryPool.h" #include "SkImageDecoder.h" #include "SkImageGeneratorPriv.h" -#include "SkScaledImageCache.h" +#include "SkResourceCache.h" #include "SkStream.h" #include "SkUtils.h" @@ -257,7 +257,7 @@ static void check_pixelref(TestImageGenerator::TestType type, SkBitmap lazy; bool success; if (kSkCaching_PixelRefType == pixelRefType) { - // Ignore factory; use global SkScaledImageCache. + // Ignore factory; use global cache. success = SkCachingPixelRef::Install(gen.detach(), &lazy); } else { success = SkInstallDiscardablePixelRef(gen.detach(), &lazy, factory); |