blob: a5bee3d1fc7013f55765067bae6267fa940c42a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// 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 "config.h"
#include "core/frame/NavigatorCPU.h"
#include "public/platform/Platform.h"
namespace WebCore {
unsigned NavigatorCPU::hardwareConcurrency() const
{
return blink::Platform::current()->numberOfProcessors();
}
} // namespace WebCore
|