diff --git a/src/core/SkGlyphCache.h b/src/core/SkGlyphCache.h index 30928da744..523bd16775 100644 --- a/src/core/SkGlyphCache.h +++ b/src/core/SkGlyphCache.h @@ -225,8 +225,7 @@ public: SkAutoGlyphCacheNoGamma(const SkPaint& paint, const SkSurfaceProps* surfaceProps, const SkMatrix* matrix) - : SkExclusiveStrikePtr(SkStrikeCache::FindOrCreateStrikeExclusive( - paint, surfaceProps, SkScalerContextFlags::kNone, matrix)) {} + : SkExclusiveStrikePtr(nullptr) {} }; #define SkAutoGlyphCacheNoGamma(...) SK_REQUIRE_LOCAL_VAR(SkAutoGlyphCacheNoGamma) #endif