Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: src/utils/win/SkDWrite.h

Issue 422823008: Explicitly typedef GetUserDefaultLocaleName as WINVER may not be high enough when compiling to allo… (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/win/SkDWrite.h
diff --git a/src/utils/win/SkDWrite.h b/src/utils/win/SkDWrite.h
index 679447dfc61300dec86d33d40a6fd7580b66ef79..60154af087d2804cb04fc0204324ade7075bcce6 100644
--- a/src/utils/win/SkDWrite.h
+++ b/src/utils/win/SkDWrite.h
@@ -37,7 +37,7 @@ HRESULT sk_wchar_to_skstring(WCHAR* name, SkString* skname);
void sk_get_locale_string(IDWriteLocalizedStrings* names, const WCHAR* preferedLocale,
SkString* skname);
-typedef decltype(GetUserDefaultLocaleName)* SkGetUserDefaultLocaleNameProc;
+typedef int (*SkGetUserDefaultLocaleNameProc)(LPWSTR, int);
bungeman-skia 2014/07/29 22:18:00 There should be a WINAPI in here for completeness.
HRESULT SkGetGetUserDefaultLocaleNameProc(SkGetUserDefaultLocaleNameProc* proc);
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698