| Index: tests/FontHostStreamTest.cpp
|
| diff --git a/tests/FontHostStreamTest.cpp b/tests/FontHostStreamTest.cpp
|
| index f4cc5bf3a91c03a5c11b78ba5e9be2d94a7bb3ef..0b436552a3c9a232bea50626ea26cb21edb87989 100644
|
| --- a/tests/FontHostStreamTest.cpp
|
| +++ b/tests/FontHostStreamTest.cpp
|
| @@ -98,7 +98,7 @@ DEF_TEST(FontHostStream, reporter) {
|
|
|
| int ttcIndex;
|
| SkAutoTDelete<SkStreamAsset> fontData(origTypeface->openStream(&ttcIndex));
|
| - SkTypeface* streamTypeface = SkTypeface::CreateFromStream(fontData.detach());
|
| + SkTypeface* streamTypeface = SkTypeface::CreateFromStream(fontData.release());
|
|
|
| SkFontDescriptor desc;
|
| bool isLocalStream = false;
|
|
|