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

Unified Diff: Source/wtf/Platform.h

Issue 14159022: Remove WTF_USE_QUERY_PERFORMANCE_COUNTER as it is not used. (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Platform.h
diff --git a/Source/wtf/Platform.h b/Source/wtf/Platform.h
index 79695488a3eb27bbddd145071488cf49b139cd33..e0361d39495350301ab7b91b3ba9f7b7dcbe2fd3 100644
--- a/Source/wtf/Platform.h
+++ b/Source/wtf/Platform.h
@@ -371,9 +371,6 @@
#define WTF_OS_WINDOWS 1
#endif
-#define WTF_OS_WIN ERROR "USE WINDOWS WITH OS NOT WIN"
-#define WTF_OS_MAC ERROR "USE MAC_OS_X WITH OS NOT MAC"
-
/* OS(UNIX) - Any Unix-like system */
#if OS(AIX) \
|| OS(ANDROID) \
@@ -393,12 +390,7 @@
/* Operating environments */
-/* Graphics engines */
-
-#if OS(DARWIN)
-#define WTF_USE_ICCJPEG 1
-#define WTF_USE_QCMSLIB 1
-#elif OS(ANDROID)
+#if OS(ANDROID)
#define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1
#define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1
#define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1
@@ -407,11 +399,6 @@
#define WTF_USE_QCMSLIB 1
#endif
-/* On Windows, use QueryPerformanceCounter by default */
-#if OS(WINDOWS)
-#define WTF_USE_QUERY_PERFORMANCE_COUNTER 1
-#endif
-
#define WTF_USE_ICU_UNICODE 1
#if OS(DARWIN)
@@ -473,18 +460,14 @@
#endif
#if OS(DARWIN)
-
#define HAVE_MERGESORT 1
#define HAVE_SYS_TIMEB_H 1
#define WTF_USE_ACCELERATE 1
-
#define HAVE_DISPATCH_H 1
#define HAVE_MADV_FREE 1
#define HAVE_PTHREAD_SETNAME_NP 1
-
#define HAVE_HOSTED_CORE_ANIMATION 1
#define HAVE_MADV_FREE_REUSE 1
-
#endif /* OS(DARWIN) */
#if OS(WINDOWS)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698