Correct TestTypeface::onCharsToGlyphs signature.
This is a trivial change which makes no practical difference except for removing the green squiggle from Visual Studio and allow it to understand that this is actually a real implementation of the declaration. Change-Id: I7b8542e801ee1cfd8a1698d5bf4adc092640dae1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/290828 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
This commit is contained in:
parent
61d0084461
commit
dde503476e
@ -132,7 +132,7 @@ void TestTypeface::onGetFontDescriptor(SkFontDescriptor* desc, bool* isLocal) co
|
||||
*isLocal = false;
|
||||
}
|
||||
|
||||
void TestTypeface::onCharsToGlyphs(const SkUnichar uni[], int count, SkGlyphID glyphs[]) const {
|
||||
void TestTypeface::onCharsToGlyphs(const SkUnichar* uni, int count, SkGlyphID glyphs[]) const {
|
||||
for (int i = 0; i < count; ++i) {
|
||||
glyphs[i] = fTestFont->glyphForUnichar(uni[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user