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

Unified Diff: Source/core/frame/NavigatorCPU.h

Issue 262723002: Implement navigator.hardwareConcurrency (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/core/frame/NavigatorCPU.h
diff --git a/Source/core/css/resolver/StyleResolverParentScope.cpp b/Source/core/frame/NavigatorCPU.h
similarity index 59%
copy from Source/core/css/resolver/StyleResolverParentScope.cpp
copy to Source/core/frame/NavigatorCPU.h
index bde3a362aed64146b76b1b703260b6e6605bdfa7..f6c770b5451e54bba98b26a78a9de3bc31be1517 100644
--- a/Source/core/css/resolver/StyleResolverParentScope.cpp
+++ b/Source/core/frame/NavigatorCPU.h
@@ -2,12 +2,16 @@
// 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/css/resolver/StyleResolverParentScope.h"
+#ifndef NavigatorCPU_h
+#define NavigatorCPU_h
namespace WebCore {
-StyleResolverParentScope* StyleResolverParentScope::s_currentScope = 0;
+class NavigatorCPU {
+public:
+ unsigned cores();
+};
} // namespace WebCore
+
+#endif // NavigatorCPU_h

Powered by Google App Engine
This is Rietveld 408576698