Check that Android is not looking up fonts

Change-Id: I86529296dc1229a1c9864dd12886d52d7db3aae2
Reviewed-on: https://skia-review.googlesource.com/124580
Commit-Queue: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
Herb Derby 2018-04-30 13:16:40 -04:00 committed by Skia Commit-Bot
parent 7b9b326338
commit f8c52a198d

View File

@ -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