diff options
Diffstat (limited to 'WebCore/bindings/js/JSConsoleCustom.cpp')
-rw-r--r-- | WebCore/bindings/js/JSConsoleCustom.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/bindings/js/JSConsoleCustom.cpp b/WebCore/bindings/js/JSConsoleCustom.cpp index 6a4fb17..6df88f6 100644 --- a/WebCore/bindings/js/JSConsoleCustom.cpp +++ b/WebCore/bindings/js/JSConsoleCustom.cpp @@ -57,23 +57,23 @@ JSValue JSConsole::profiles(ExecState* exec) const JSValue JSConsole::profile(ExecState* exec) { - RefPtr<ScriptCallStack> callStack(createScriptCallStack(exec, 1)); + OwnPtr<ScriptCallStack> callStack(createScriptCallStack(exec, 1)); const String& title = valueToStringWithUndefinedOrNullCheck(exec, exec->argument(0)); if (exec->hadException()) return jsUndefined(); - impl()->profile(title, exec, callStack); + impl()->profile(title, exec, callStack.release()); return jsUndefined(); } JSValue JSConsole::profileEnd(ExecState* exec) { - RefPtr<ScriptCallStack> callStack(createScriptCallStack(exec, 1)); + OwnPtr<ScriptCallStack> callStack(createScriptCallStack(exec, 1)); const String& title = valueToStringWithUndefinedOrNullCheck(exec, exec->argument(0)); if (exec->hadException()) return jsUndefined(); - impl()->profileEnd(title, exec, callStack); + impl()->profileEnd(title, exec, callStack.release()); return jsUndefined(); } |