Index: src/gpu/text/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/text/GrStencilAndCoverTextContext.cpp b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
index 661f22512d41ecdf592e6452b5de97d1eb377be1..ab9025d31695dc3930f30212c51aab16216edbcb 100644 |
--- a/src/gpu/text/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
@@ -329,7 +329,7 @@ |
public: |
FallbackBlobBuilder() : fBuffIdx(0), fCount(0) {} |
- bool isInitialized() const { return fBuilder != nullptr; } |
+ bool isInitialized() const { return SkToBool(fBuilder); } |
void init(const SkPaint& font, SkScalar textRatio); |