Index: test/cctest/profiler-extension.cc |
diff --git a/test/cctest/profiler-extension.cc b/test/cctest/profiler-extension.cc |
index 193b1ce24c3b561cc342e7ca49563e2d89a24c7c..80d9f904124493030433ac14eefc58e1910b73ca 100644 |
--- a/test/cctest/profiler-extension.cc |
+++ b/test/cctest/profiler-extension.cc |
@@ -28,8 +28,11 @@ |
// Tests of profiles generator and utilities. |
#include "profiler-extension.h" |
+#include "checks.h" |
+ |
+namespace v8 { |
+namespace internal { |
-#include "cctest.h" |
const v8::CpuProfile* ProfilerExtension::last_profile = NULL; |
const char* ProfilerExtension::kSource = |
@@ -69,6 +72,4 @@ void ProfilerExtension::StopProfiling( |
: v8::String::Empty(args.GetIsolate())); |
} |
- |
-static ProfilerExtension kProfilerExtension; |
-v8::DeclareExtension kProfilerExtensionDeclaration(&kProfilerExtension); |
+} } // namespace v8::internal |