diff options
author | 2015-03-16 15:36:44 -0400 | |
---|---|---|
committer | 2015-03-16 15:36:44 -0400 | |
commit | 95a4fe3737f5a23a88dbec198f24247a9232f538 (patch) | |
tree | 9c18513d9940ee38d8cbf44388a5a8eb124360cd | |
parent | f33a8bf31e161644cdd01c8a684874cea14dc408 (diff) |
always reset locale (not just in debug).
BUG=skia:
Review URL: https://codereview.chromium.org/1007283009
-rw-r--r-- | include/gpu/GrTypesPriv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h index 90d810f98c..22b55bffa0 100644 --- a/include/gpu/GrTypesPriv.h +++ b/include/gpu/GrTypesPriv.h @@ -296,7 +296,7 @@ public: setlocale(LC_ALL, fOldLocale); _configthreadlocale(fOldPerThreadLocale); #elif !defined(SK_BUILD_FOR_ANDROID) - SkASSERT(uselocale(fOldLocale) == fLocale); + uselocale(fOldLocale); freelocale(fLocale); #endif } |