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

Unified Diff: Source/wtf/NumberOfCores.cpp

Issue 14482004: Remove OS(QNX) support. (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 | « Source/wtf/MathExtras.h ('k') | Source/wtf/OSAllocatorPosix.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/NumberOfCores.cpp
diff --git a/Source/wtf/NumberOfCores.cpp b/Source/wtf/NumberOfCores.cpp
index 4bbdb942f1fffdb5361fc9cc226240b251a49b81..72a51314c7bf674a5ef7716d8e058e88c2437c65 100644
--- a/Source/wtf/NumberOfCores.cpp
+++ b/Source/wtf/NumberOfCores.cpp
@@ -34,12 +34,10 @@
#include <sys/sysctl.h>
#elif OS(LINUX) || OS(AIX) || OS(SOLARIS)
#include <unistd.h>
-#elif OS(WINDOWS) || OS(QNX)
+#elif OS(WINDOWS)
#include <wtf/UnusedParam.h>
#if OS(WINDOWS)
#include <windows.h>
-#elif OS(QNX)
-#include <sys/syspage.h>
#endif
#endif
@@ -73,10 +71,6 @@ int numberOfProcessorCores()
GetSystemInfo(&sysInfo);
s_numberOfCores = sysInfo.dwNumberOfProcessors;
-#elif OS(QNX)
- UNUSED_PARAM(defaultIfUnavailable);
-
- s_numberOfCores = _syspage_ptr->num_cpu;
#else
s_numberOfCores = defaultIfUnavailable;
#endif
« no previous file with comments | « Source/wtf/MathExtras.h ('k') | Source/wtf/OSAllocatorPosix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698