summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/API/JSProfilerPrivate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/API/JSProfilerPrivate.cpp')
-rw-r--r--Source/JavaScriptCore/API/JSProfilerPrivate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/JavaScriptCore/API/JSProfilerPrivate.cpp b/Source/JavaScriptCore/API/JSProfilerPrivate.cpp
index c83bc63bd..0405b4b26 100644
--- a/Source/JavaScriptCore/API/JSProfilerPrivate.cpp
+++ b/Source/JavaScriptCore/API/JSProfilerPrivate.cpp
@@ -27,20 +27,20 @@
#include "JSProfilerPrivate.h"
#include "APICast.h"
+#include "LegacyProfiler.h"
#include "OpaqueJSString.h"
-#include "Profiler.h"
using namespace JSC;
void JSStartProfiling(JSContextRef ctx, JSStringRef title)
{
- Profiler::profiler()->startProfiling(toJS(ctx), title->string());
+ LegacyProfiler::profiler()->startProfiling(toJS(ctx), title->string());
}
void JSEndProfiling(JSContextRef ctx, JSStringRef title)
{
ExecState* exec = toJS(ctx);
- Profiler* profiler = Profiler::profiler();
+ LegacyProfiler* profiler = LegacyProfiler::profiler();
profiler->stopProfiling(exec, title->string());
}