aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-12 09:23:34 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-18 13:13:44 +0200
commit7d4e61dd824706984030c58684fa844ff9cde251 (patch)
tree08a044f35ad179edeea98b9bc8d36a2f5d183f07 /src/qml/jsruntime/qv4engine.cpp
parenta245f60c6a2f6586567f1332a99e0d70e6b15f4d (diff)
Rename BuiltinFunctionOld to BuiltinFunction
This is the correct abstraction for a builtin method. Time to get rid of the 'old' in the name. Change-Id: Ia386d2cc8ef0e6c269ab24da6fc8ebfac52d7f69 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
-rw-r--r--src/qml/jsruntime/qv4engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp
index 638609de37..eaea2bbddc 100644
--- a/src/qml/jsruntime/qv4engine.cpp
+++ b/src/qml/jsruntime/qv4engine.cpp
@@ -340,7 +340,7 @@ ExecutionContext *ExecutionEngine::pushGlobalContext()
FunctionObject *ExecutionEngine::newBuiltinFunction(ExecutionContext *scope, String *name, Value (*code)(SimpleCallContext *))
{
- BuiltinFunctionOld *f = new (memoryManager) BuiltinFunctionOld(scope, name, code);
+ BuiltinFunction *f = new (memoryManager) BuiltinFunction(scope, name, code);
return f;
}