Index: src/ports/SkFontMgr_fontconfig.cpp |
diff --git a/src/ports/SkFontMgr_fontconfig.cpp b/src/ports/SkFontMgr_fontconfig.cpp |
index 6a40e5080d4fa55ad81069914b0f1c2ad6968fbb..bd6a5a2a2a6b95cc4c08e52f4d1b565ad8f9b3d5 100644 |
--- a/src/ports/SkFontMgr_fontconfig.cpp |
+++ b/src/ports/SkFontMgr_fontconfig.cpp |
@@ -113,7 +113,7 @@ template <typename T, T* (*C)(), void (*D)(T*)> class SkAutoFc |
public: |
SkAutoFc() : SkAutoTCallVProc<T, FcTDestroy<T, D> >(C()) { |
T* obj = this->operator T*(); |
- SK_ALWAYSBREAK(nullptr != obj); |
+ SkASSERT_RELEASE(nullptr != obj); |
} |
explicit SkAutoFc(T* obj) : SkAutoTCallVProc<T, FcTDestroy<T, D> >(obj) {} |
}; |