Index: src/core/SkMiniRecorder.cpp |
diff --git a/src/core/SkMiniRecorder.cpp b/src/core/SkMiniRecorder.cpp |
index a5d676aed95306cf265d73597416caf3fa30f3c0..51ff5acbbca6658c101cf18ea21ddf5b5aab0824 100644 |
--- a/src/core/SkMiniRecorder.cpp |
+++ b/src/core/SkMiniRecorder.cpp |
@@ -79,7 +79,7 @@ bool SkMiniRecorder::drawPath(const SkPath& path, const SkPaint& paint) { |
} |
bool SkMiniRecorder::drawTextBlob(const SkTextBlob* b, SkScalar x, SkScalar y, const SkPaint& p) { |
- TRY_TO_STORE(DrawTextBlob, p, b, x, y); |
+ TRY_TO_STORE(DrawTextBlob, p, sk_ref_sp(b), x, y); |
} |
#undef TRY_TO_STORE |