diff options
Diffstat (limited to 'tools/skdiff_utils.h')
-rw-r--r-- | tools/skdiff_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/skdiff_utils.h b/tools/skdiff_utils.h index ae7d51a1d2..c535ae26b5 100644 --- a/tools/skdiff_utils.h +++ b/tools/skdiff_utils.h @@ -22,7 +22,7 @@ bool are_buffers_equal(SkData* skdata1, SkData* skdata2); /** Reads the file at the given path and returns its complete contents as an * SkData object (or returns nullptr on error). */ -SkData* read_file(const char* file_path); +sk_sp<SkData> read_file(const char* file_path); /** Decodes the fileBits into the resource.fBitmap. Returns false on failure. */ bool get_bitmap(SkData* fileBits, DiffResource& resource, bool sizeOnly); |