diff options
author | Simon Hausmann <[email protected]> | 2014-03-31 14:37:32 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2014-04-01 06:17:14 +0200 |
commit | 5915a3ec731ed61b88d869b41a4f98121e840219 (patch) | |
tree | 66bddcd6030bb11e6d891c59bf1c7c5a22fcc6c5 /src/qml/jsruntime/qv4functionobject.cpp | |
parent | bdd29d20d7d21d82170ffe2cb74412987210dd0d (diff) |
Fix typo
creatScriptFunction -> createScriptFunction
Change-Id: Icdb9214b1ae067fa2b8693d50cdac0be9fe6d390
Reviewed-by: Michael Brasser <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4functionobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4functionobject.cpp b/src/qml/jsruntime/qv4functionobject.cpp index e048bf1646..00c13a1a35 100644 --- a/src/qml/jsruntime/qv4functionobject.cpp +++ b/src/qml/jsruntime/qv4functionobject.cpp @@ -172,7 +172,7 @@ void FunctionObject::markObjects(Managed *that, ExecutionEngine *e) Object::markObjects(that, e); } -FunctionObject *FunctionObject::creatScriptFunction(ExecutionContext *scope, Function *function, bool createProto) +FunctionObject *FunctionObject::createScriptFunction(ExecutionContext *scope, Function *function, bool createProto) { if (function->needsActivation() || function->compiledFunction->flags & CompiledData::Function::HasCatchOrWith || @@ -236,7 +236,7 @@ ReturnedValue FunctionCtor::construct(Managed *that, CallData *callData) QV4::CompiledData::CompilationUnit *compilationUnit = isel->compile(); QV4::Function *vmf = compilationUnit->linkToEngine(v4); - return FunctionObject::creatScriptFunction(v4->rootContext, vmf)->asReturnedValue(); + return FunctionObject::createScriptFunction(v4->rootContext, vmf)->asReturnedValue(); } // 15.3.1: This is equivalent to new Function(...) |