blob: f5c0db2d1b58de1fb54aa6545de8ac0fb177319e [file]
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/frame/navigator_concurrent_hardware.h"
#include "base/system/sys_info.h"
namespace blink {
unsigned NavigatorConcurrentHardware::hardwareConcurrency() const {
return static_cast<unsigned>(base::SysInfo::NumberOfProcessors());
}
} // namespace blink