diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-09-12 09:23:34 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-18 13:13:44 +0200 |
commit | 7d4e61dd824706984030c58684fa844ff9cde251 (patch) | |
tree | 08a044f35ad179edeea98b9bc8d36a2f5d183f07 /src/qml/jsruntime/qv4engine.cpp | |
parent | a245f60c6a2f6586567f1332a99e0d70e6b15f4d (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.cpp | 2 |
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; } |