Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: Tools/TestWebKitAPI/Tests/WTF/IntegerToStringConversion.cpp

Issue 14280003: Remove more unused marcos. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/TestWebKitAPI/Tests/WTF/IntegerToStringConversion.cpp
diff --git a/Tools/TestWebKitAPI/Tests/WTF/IntegerToStringConversion.cpp b/Tools/TestWebKitAPI/Tests/WTF/IntegerToStringConversion.cpp
index 6b9d8df7276deb0b49cf4f7e3520572a495aa70d..49a2de326b86a9711ce4bb42c834744a971d4466 100644
--- a/Tools/TestWebKitAPI/Tests/WTF/IntegerToStringConversion.cpp
+++ b/Tools/TestWebKitAPI/Tests/WTF/IntegerToStringConversion.cpp
@@ -42,11 +42,11 @@ template<> struct PrintfFormatTrait<long> { static const char format[]; };
const char PrintfFormatTrait<long>::format[] = "%ld";
template<> struct PrintfFormatTrait<long long> { static const char format[]; };
-#if OS(WINDOWS) && !PLATFORM(QT)
+#if OS(WINDOWS)
const char PrintfFormatTrait<long long>::format[] = "%I64i";
#else
const char PrintfFormatTrait<long long>::format[] = "%lli";
-#endif // OS(WINDOWS) && !PLATFORM(QT)
+#endif // OS(WINDOWS)
template<> struct PrintfFormatTrait<unsigned short> { static const char format[]; };
const char PrintfFormatTrait<unsigned short>::format[] = "%hu";
@@ -58,11 +58,11 @@ template<> struct PrintfFormatTrait<unsigned long> { static const char format[];
const char PrintfFormatTrait<unsigned long>::format[] = "%lu";
template<> struct PrintfFormatTrait<unsigned long long> { static const char format[]; };
-#if OS(WINDOWS) && !PLATFORM(QT)
+#if OS(WINDOWS)
const char PrintfFormatTrait<unsigned long long>::format[] = "%I64u";
#else
const char PrintfFormatTrait<unsigned long long>::format[] = "%llu";
-#endif // OS(WINDOWS) && !PLATFORM(QT)
+#endif // OS(WINDOWS)
// FIXME: use snprintf from StringExtras.h

Powered by Google App Engine
This is Rietveld 408576698