| Index: src/ports/SkFontMgr_android_parser.cpp
|
| diff --git a/src/ports/SkFontMgr_android_parser.cpp b/src/ports/SkFontMgr_android_parser.cpp
|
| index 3f9c90cf318c045fd4be681042f390201c4a5d4b..dbc1dee92e8cdbfae78647a8e33396f336117e31 100644
|
| --- a/src/ports/SkFontMgr_android_parser.cpp
|
| +++ b/src/ports/SkFontMgr_android_parser.cpp
|
| @@ -273,7 +273,7 @@ static const TagHandler familyHandler = {
|
| }
|
| },
|
| /*end*/[](FamilyData* self, const char* tag) {
|
| - *self->fFamilies.append() = self->fCurrentFamily.detach();
|
| + *self->fFamilies.append() = self->fCurrentFamily.release();
|
| },
|
| /*tag*/[](FamilyData* self, const char* tag, const char** attributes) -> const TagHandler* {
|
| size_t len = strlen(tag);
|
| @@ -473,7 +473,7 @@ static const TagHandler familyHandler = {
|
| }
|
| },
|
| /*end*/[](FamilyData* self, const char* tag) {
|
| - *self->fFamilies.append() = self->fCurrentFamily.detach();
|
| + *self->fFamilies.append() = self->fCurrentFamily.release();
|
| },
|
| /*tag*/[](FamilyData* self, const char* tag, const char** attributes) -> const TagHandler* {
|
| size_t len = strlen(tag);
|
|
|