From f8c52a198d01952b6b83ec30902cae33f0445816 Mon Sep 17 00:00:00 2001 From: Herb Derby Date: Mon, 30 Apr 2018 13:16:40 -0400 Subject: [PATCH] Check that Android is not looking up fonts Change-Id: I86529296dc1229a1c9864dd12886d52d7db3aae2 Reviewed-on: https://skia-review.googlesource.com/124580 Commit-Queue: Herb Derby Commit-Queue: Mike Klein Reviewed-by: Mike Klein --- src/core/SkGlyphCache.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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