Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 86e60e2c7939241c2be32f475ebba7397c293321..d204726f8b0a8d2c19be2b36c08ace15c53a9864 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1900,7 +1900,7 @@ bool Isolate::Init(Deserializer* des) { |
// once ResourceConstraints becomes an argument to the Isolate constructor. |
if (max_available_threads_ < 1) { |
// Choose the default between 1 and 4. |
- max_available_threads_ = Max(Min(CPU::NumberOfProcessorsOnline(), 4), 1); |
+ max_available_threads_ = Max(Min(OS::NumberOfProcessorsOnline(), 4), 1); |
} |
if (!FLAG_job_based_sweeping) { |