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

Unified Diff: third_party/WebKit/Source/core/frame/NavigatorConcurrentHardware.cpp

Issue 2820473002: Rename NavigatorCPU mixin to NavigatorConcurrentHardware to match spec (Closed)
Patch Set: Created 3 years, 8 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
Index: third_party/WebKit/Source/core/frame/NavigatorConcurrentHardware.cpp
diff --git a/third_party/WebKit/Source/core/frame/NavigatorCPU.cpp b/third_party/WebKit/Source/core/frame/NavigatorConcurrentHardware.cpp
similarity index 71%
rename from third_party/WebKit/Source/core/frame/NavigatorCPU.cpp
rename to third_party/WebKit/Source/core/frame/NavigatorConcurrentHardware.cpp
index 5829cba9350a248ead0b7d01470083c6f4ae38a2..bf18f3a6fcd0723c4c6d8cf5eb3f6e09ea613ffd 100644
--- a/third_party/WebKit/Source/core/frame/NavigatorCPU.cpp
+++ b/third_party/WebKit/Source/core/frame/NavigatorConcurrentHardware.cpp
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "core/frame/NavigatorCPU.h"
+#include "core/frame/NavigatorConcurrentHardware.h"
#include "public/platform/Platform.h"
namespace blink {
-unsigned NavigatorCPU::hardwareConcurrency() const {
+unsigned NavigatorConcurrentHardware::hardwareConcurrency() const {
return Platform::Current()->NumberOfProcessors();
}

Powered by Google App Engine
This is Rietveld 408576698