Index: Source/WTF/wtf/text/WTFString.cpp |
diff --git a/Source/WTF/wtf/text/WTFString.cpp b/Source/WTF/wtf/text/WTFString.cpp |
index 75e769388c93cbce97be2fe2376e8eaa5e7e89be..1da15c48c6301ca850ceb75cdca6e9c30f6c17e5 100644 |
--- a/Source/WTF/wtf/text/WTFString.cpp |
+++ b/Source/WTF/wtf/text/WTFString.cpp |
@@ -412,21 +412,7 @@ const UChar* String::charactersWithNullTermination() |
String String::format(const char *format, ...) |
{ |
-#if PLATFORM(QT) |
- // Use QString::vsprintf to avoid the locale dependent formatting of vsnprintf. |
- // https://bugs.webkit.org/show_bug.cgi?id=18994 |
- va_list args; |
- va_start(args, format); |
- |
- QString buffer; |
- buffer.vsprintf(format, args); |
- |
- va_end(args); |
- |
- QByteArray ba = buffer.toUtf8(); |
- return StringImpl::create(reinterpret_cast<const LChar*>(ba.constData()), ba.length()); |
- |
-#elif OS(WINCE) |
+#if OS(WINCE) |
va_list args; |
va_start(args, format); |