From d07e4a226a831b433f99c69c3faf449dd41a6c5d Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Thu, 8 Mar 2018 16:29:12 -0500 Subject: Change behavior of custom image serial/deserial New behavior is to *always* call the client's deserial image proc for all data. This allows the client to make decisions even on "std" image data like PNG. The change also means that if there is no client deserial image proc, Skia will still attempt to create an image from the data, even if it was written by a custom serial proc. Bug: skia:7706 Change-Id: Ia58bdd10b86d497f02187082c6373c029e9c8293 Reviewed-on: https://skia-review.googlesource.com/113302 Reviewed-by: Florin Malita Reviewed-by: Leon Scroggins Commit-Queue: Mike Reed --- tests/SerialProcsTest.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/SerialProcsTest.cpp') diff --git a/tests/SerialProcsTest.cpp b/tests/SerialProcsTest.cpp index c408dc7eb6..fd82079147 100644 --- a/tests/SerialProcsTest.cpp +++ b/tests/SerialProcsTest.cpp @@ -38,7 +38,6 @@ DEF_TEST(serial_procs_image, reporter) { }; const SkDeserialImageProc dprocs[] = { [](const void* data, size_t length, void*) -> sk_sp { - SK_ABORT("should not get called"); return nullptr; }, [](const void* data, size_t length, void*) { -- cgit v1.2.3