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:
parent
af2cca1d72
commit
c3e152b9f7
2
BUILD.gn
2
BUILD.gn
@ -96,7 +96,7 @@ config("skia_private") {
|
||||
|
||||
config("skia_winuwp") {
|
||||
if (skia_enable_winuwp) {
|
||||
defines = [ "WINUWP" ]
|
||||
defines = [ "SK_WINUWP" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user