diff options
Diffstat (limited to 'tests/CachedDecodingPixelRefTest.cpp')
| -rw-r--r-- | tests/CachedDecodingPixelRefTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp index 1e4ab3f35d..f97e89361f 100644 --- a/tests/CachedDecodingPixelRefTest.cpp +++ b/tests/CachedDecodingPixelRefTest.cpp @@ -9,7 +9,6 @@ #include "SkCanvas.h" #include "SkData.h" #include "SkDecodingImageGenerator.h" -#include "SkDiscardablePixelRef.h" #include "SkDiscardableMemoryPool.h" #include "SkImageDecoder.h" #include "SkCachingPixelRef.h" @@ -257,7 +256,7 @@ void CheckPixelRef(TestImageGenerator::TestType type, // Ignore factory; use global SkScaledImageCache. success = SkCachingPixelRef::Install(gen.detach(), &lazy); } else { - success = SkDiscardablePixelRef::Install(gen.detach(), &lazy, factory); + success = SkInstallDiscardablePixelRef(gen.detach(), &lazy, factory); } REPORTER_ASSERT(reporter, success == (TestImageGenerator::kFailGetInfo_TestType != type)); |
