| Index: tests/PDFGlyphsToUnicodeTest.cpp
|
| diff --git a/tests/PDFGlyphsToUnicodeTest.cpp b/tests/PDFGlyphsToUnicodeTest.cpp
|
| index 529c97233c70577963b5ee11e9e409a26ca7b863..f0425d94fc61e4e8a93a08533c5a323197e9c3fc 100644
|
| --- a/tests/PDFGlyphsToUnicodeTest.cpp
|
| +++ b/tests/PDFGlyphsToUnicodeTest.cpp
|
| @@ -13,7 +13,7 @@
|
|
|
| static bool stream_equals(const SkDynamicMemoryWStream& stream, size_t offset,
|
| const char* buffer, size_t len) {
|
| - SkAutoDataUnref data(stream.copyToData());
|
| + sk_sp<SkData> data(stream.copyToData());
|
| if (offset + len > data->size()) {
|
| return false;
|
| }
|
|
|