blob: 800e852502e78e8a72615601d431369e6644a0d9 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// 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/sys_info.h"
namespace blink {
unsigned NavigatorConcurrentHardware::hardwareConcurrency() const {
return static_cast<unsigned>(base::SysInfo::NumberOfProcessors());
}
} // namespace blink