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

Unified Diff: src/core/SkTaskGroup.cpp

Issue 1213063011: Don't cap num_cores at 32 on 32-bit Windows. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 6 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: src/core/SkTaskGroup.cpp
diff --git a/src/core/SkTaskGroup.cpp b/src/core/SkTaskGroup.cpp
index 4504defb1b139636e40493eae9c1729248e9ea15..e809f571efbc8d7b650e6a36c4527fe8212cba4b 100644
--- a/src/core/SkTaskGroup.cpp
+++ b/src/core/SkTaskGroup.cpp
@@ -16,7 +16,7 @@
#if defined(SK_BUILD_FOR_WIN32)
static void query_num_cores(int* num_cores) {
SYSTEM_INFO sysinfo;
- GetSystemInfo(&sysinfo);
+ GetNativeSystemInfo(&sysinfo);
*num_cores = sysinfo.dwNumberOfProcessors;
}
#else
« 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