diff options
Diffstat (limited to 'tests/CodecAnimTest.cpp')
-rw-r--r-- | tests/CodecAnimTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/CodecAnimTest.cpp b/tests/CodecAnimTest.cpp index 24b9c13ae9..79e03bdef8 100644 --- a/tests/CodecAnimTest.cpp +++ b/tests/CodecAnimTest.cpp @@ -14,7 +14,6 @@ #include "Resources.h" #include "Test.h" -#include "sk_tool_utils.h" #include <initializer_list> #include <vector> @@ -240,8 +239,7 @@ DEF_TEST(Codec_frames, r) { // First copy the pixels from the cached frame const int requiredFrame = frameInfos[index].fRequiredFrame; if (requiredFrame != SkCodec::kNone) { - const bool success = sk_tool_utils::copy_to(bm, kN32_SkColorType, - cachedFrames[requiredFrame]); + const bool success = cachedFrames[requiredFrame].copyTo(bm); REPORTER_ASSERT(r, success); } } |