Disable the pinner verification code

This code was added to diagnose problems with RawDraw. It is suppose
to hold for all OOP-R drawing, but the fuzzer in the bug below seems
to trigger this invariant checking. Disable on the off chance this
triggers in the field.

Bug: chromium:1316440
Change-Id: I36aff480741535e87de0e88b5f90491819ba1eff
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/529833
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
Herb Derby 2022-04-14 13:33:21 -06:00 committed by SkCQ
parent 640614ec52
commit bef290417b

View File

@ -94,7 +94,8 @@ void GrGlyphVector::packedGlyphIDToGrGlyph(GrStrikeCache* cache) {
}
// This must be pinned for the Atlas filling to work.
fStrike->verifyPinnedStrike();
// TODO(herb): reenable after the cut on 20220414
// fStrike->verifyPinnedStrike();
// Drop the ref on the strike that was taken in the SkGlyphRunPainter process* methods.
fStrike = nullptr;