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

Unified Diff: Source/core/workers/WorkerNavigator.h

Issue 262723002: Implement navigator.hardwareConcurrency (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename to navigator.hardwareConcurrency Created 6 years, 6 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/workers/WorkerNavigator.h
diff --git a/Source/core/workers/WorkerNavigator.h b/Source/core/workers/WorkerNavigator.h
index 89f72a220e4a15372828f436b08ad3b79cd2af21..0750e8fff7a9f7d3b9a227f123774f2afa31d8e8 100644
--- a/Source/core/workers/WorkerNavigator.h
+++ b/Source/core/workers/WorkerNavigator.h
@@ -27,6 +27,7 @@
#define WorkerNavigator_h
#include "bindings/v8/ScriptWrappable.h"
+#include "core/frame/NavigatorCPU.h"
#include "core/frame/NavigatorID.h"
#include "core/frame/NavigatorOnLine.h"
#include "platform/Supplementable.h"
@@ -37,7 +38,7 @@
namespace WebCore {
-class WorkerNavigator FINAL : public RefCountedWillBeGarbageCollectedFinalized<WorkerNavigator>, public ScriptWrappable, public NavigatorID, public NavigatorOnLine, public WillBeHeapSupplementable<WorkerNavigator> {
+class WorkerNavigator FINAL : public RefCountedWillBeGarbageCollectedFinalized<WorkerNavigator>, public ScriptWrappable, public NavigatorCPU, public NavigatorID, public NavigatorOnLine, public WillBeHeapSupplementable<WorkerNavigator> {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerNavigator);
public:
static PassRefPtrWillBeRawPtr<WorkerNavigator> create(const String& userAgent)

Powered by Google App Engine
This is Rietveld 408576698