diff options
Diffstat (limited to 'WebCore/bindings/js/ScriptProfiler.cpp')
-rw-r--r-- | WebCore/bindings/js/ScriptProfiler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/bindings/js/ScriptProfiler.cpp b/WebCore/bindings/js/ScriptProfiler.cpp index 789e3d3..5121232 100644 --- a/WebCore/bindings/js/ScriptProfiler.cpp +++ b/WebCore/bindings/js/ScriptProfiler.cpp @@ -30,18 +30,19 @@ #include "ScriptProfiler.h" +#include "JSDOMBinding.h" #include <profiler/Profiler.h> namespace WebCore { void ScriptProfiler::start(ScriptState* state, const String& title) { - JSC::Profiler::profiler()->startProfiling(state, title); + JSC::Profiler::profiler()->startProfiling(state, stringToUString(title)); } PassRefPtr<ScriptProfile> ScriptProfiler::stop(ScriptState* state, const String& title) { - return JSC::Profiler::profiler()->stopProfiling(state, title); + return JSC::Profiler::profiler()->stopProfiling(state, stringToUString(title)); } } // namespace WebCore |