Index: tests/CachedDecodingPixelRefTest.cpp |
diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp |
index 1e4ab3f35db027181b0229867a48f526b6e6885b..f97e89361fab1b19d734fcdda64c9b959ba16295 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)); |