Index: src/animator/SkDrawPaint.cpp |
diff --git a/src/animator/SkDrawPaint.cpp b/src/animator/SkDrawPaint.cpp |
index 1336ea2dc429b0039b0ff1fcea3f745bef96b9e4..1026630eb11f9bc698eecfb970248a29311ab3f4 100644 |
--- a/src/animator/SkDrawPaint.cpp |
+++ b/src/animator/SkDrawPaint.cpp |
@@ -259,7 +259,7 @@ void SkDrawPaint::setupPaint(SkPaint* paint) const { |
if (typeface == nullptr) |
paint->setTypeface(nullptr); |
else if (typeface != (SkDrawTypeface*) -1) |
- SkSafeUnref(paint->setTypeface(typeface->getTypeface())); |
+ paint->setTypeface(typeface->getTypeface()); |
if (underline != -1) |
paint->setUnderlineText(SkToBool(underline)); |
if (xfermode != -1) |