Index: Source/wtf/text/WTFString.cpp |
diff --git a/Source/wtf/text/WTFString.cpp b/Source/wtf/text/WTFString.cpp |
index e79007c695279e4c5d1b89451d0546f6c2372e0f..83740ab05ac5046f7a9896a3c7be97ec2a5ef1d8 100644 |
--- a/Source/wtf/text/WTFString.cpp |
+++ b/Source/wtf/text/WTFString.cpp |
@@ -403,29 +403,6 @@ const UChar* String::charactersWithNullTermination() |
String String::format(const char *format, ...) |
{ |
-#if OS(WINCE) |
- va_list args; |
- va_start(args, format); |
- |
- Vector<char, 256> buffer; |
- |
- int bufferSize = 256; |
- buffer.resize(bufferSize); |
- for (;;) { |
- int written = vsnprintf(buffer.data(), bufferSize, format, args); |
- va_end(args); |
- |
- if (written == 0) |
- return String(""); |
- if (written > 0) |
- return StringImpl::create(reinterpret_cast<const LChar*>(buffer.data()), written); |
- |
- bufferSize <<= 1; |
- buffer.resize(bufferSize); |
- va_start(args, format); |
- } |
- |
-#else |
va_list args; |
va_start(args, format); |
@@ -460,7 +437,6 @@ String String::format(const char *format, ...) |
va_end(args); |
return StringImpl::create(reinterpret_cast<const LChar*>(buffer.data()), len); |
-#endif |
} |
String String::number(int number) |