Fix type in Issue 11102: Add support for UWP compilation target

Bug: skia:11102
Change-Id: I03edc6fb10db6d8f3d160ba34dac3352027ee532
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/370226
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
This commit is contained in:
James Clarke 2021-02-13 11:45:26 -08:00 committed by Skia Commit-Bot
parent af2cca1d72
commit c3e152b9f7
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ config("skia_private") {
config("skia_winuwp") {
if (skia_enable_winuwp) {
defines = [ "WINUWP" ]
defines = [ "SK_WINUWP" ]
}
}

View File

@ -319,7 +319,7 @@ bool SkXPSDevice::endSheet() {
static HRESULT subset_typeface(const SkXPSDevice::TypefaceUse& current) {
//The CreateFontPackage API is only supported on desktop, not in UWP
#ifdef SK_WINUWP
#if defined(SK_WINUWP)
return E_NOTIMPL;
#else
//CreateFontPackage wants unsigned short.