Index: src/core/SkError.cpp |
diff --git a/src/core/SkError.cpp b/src/core/SkError.cpp |
index 2c4abc65c264e949691851b49877a8c53499fded..9e8ff2ddef01ff3fda1f5340f7a7e0f42713a796 100644 |
--- a/src/core/SkError.cpp |
+++ b/src/core/SkError.cpp |
@@ -13,10 +13,6 @@ |
#include <stdio.h> |
#include <stdarg.h> |
- |
-#ifdef SK_BUILD_FOR_WIN |
- #define snprintf _snprintf |
-#endif |
namespace { |
void *CreateThreadError() { |
@@ -133,7 +129,7 @@ |
break; |
} |
- snprintf(str, ERROR_STRING_LENGTH, "%s: ", error_name); |
+ sprintf( str, "%s: ", error_name ); |
int string_left = SkToInt(ERROR_STRING_LENGTH - strlen(str)); |
str += strlen(str); |