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