| Index: test/cctest/profiler-extension.h
|
| diff --git a/test/cctest/profiler-extension.h b/test/cctest/profiler-extension.h
|
| index e63d374fb51194f062e0ffd0960f2a61a2760715..00f9a5a8085fe62c40f0f31202c69fef2efb5852 100644
|
| --- a/test/cctest/profiler-extension.h
|
| +++ b/test/cctest/profiler-extension.h
|
| @@ -40,10 +40,13 @@ class ProfilerExtension : public v8::Extension {
|
| ProfilerExtension() : v8::Extension("v8/profiler", kSource) { }
|
| virtual v8::Local<v8::FunctionTemplate> GetNativeFunctionTemplate(
|
| v8::Isolate* isolate, v8::Local<v8::String> name);
|
| - static void StartProfiling(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| - static void StopProfiling(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| static v8::CpuProfile* last_profile;
|
| +
|
| private:
|
| + static void StartProfiling(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| + static void StopProfiling(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| + static void CollectSample(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| static const char* kSource;
|
| };
|
|
|
|
|