aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2015-03-16 15:36:44 -0400
committerGravatar Brian Salomon <bsalomon@google.com>2015-03-16 15:36:44 -0400
commit95a4fe3737f5a23a88dbec198f24247a9232f538 (patch)
tree9c18513d9940ee38d8cbf44388a5a8eb124360cd
parentf33a8bf31e161644cdd01c8a684874cea14dc408 (diff)
always reset locale (not just in debug).
-rw-r--r--include/gpu/GrTypesPriv.h2
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
}