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:
parent
7b9b326338
commit
f8c52a198d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user