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

Unified Diff: third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.cpp

Issue 2301213003: Add tests for trace wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase master Created 4 years, 3 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/testing/DeathAwareScriptWrappable.cpp
diff --git a/third_party/WebKit/Source/core/frame/NavigatorCPU.h b/third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.cpp
similarity index 56%
copy from third_party/WebKit/Source/core/frame/NavigatorCPU.h
copy to third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.cpp
index 84d4f58244d3d832e20d703fd8a9d09cf344b303..79bbc3713aa8743070bb56268713f19a4cd598d2 100644
--- a/third_party/WebKit/Source/core/frame/NavigatorCPU.h
+++ b/third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.cpp
@@ -2,16 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NavigatorCPU_h
-#define NavigatorCPU_h
+#include "core/testing/DeathAwareScriptWrappable.h"
namespace blink {
-class NavigatorCPU {
-public:
- unsigned hardwareConcurrency() const;
-};
+DeathAwareScriptWrappable* DeathAwareScriptWrappable::s_instance;
+bool DeathAwareScriptWrappable::s_hasDied;
} // namespace blink
-
-#endif // NavigatorCPU_h

Powered by Google App Engine
This is Rietveld 408576698