diff options
| author | Lars Knoll <lars.knoll@digia.com> | 2013-09-11 14:47:34 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-18 13:13:23 +0200 |
| commit | d6837e9ca301e7b6c792e3d24db14fb7bab2db60 (patch) | |
| tree | b0afdc2e224d8f28ec6f9fb516d0ad2cb63c4908 /src/qml/jsruntime/qv4dateobject.cpp | |
| parent | 002e6105f61269f1474de878ccdb26205e5b226e (diff) | |
Rename QV4::ValueScope to QV4::Scope
The class is going to be used all over the place, so let's
give it a short name :)
Change-Id: If61543cb2c885e7fbb95c8fc4d0e870097c352ed
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4dateobject.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4dateobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4dateobject.cpp b/src/qml/jsruntime/qv4dateobject.cpp index 7dc922c3a8..01325aef76 100644 --- a/src/qml/jsruntime/qv4dateobject.cpp +++ b/src/qml/jsruntime/qv4dateobject.cpp @@ -662,7 +662,7 @@ Value DateCtor::construct(Managed *m, CallData *callData) t = currentTime(); else if (callData->argc == 1) { - ValueScope scope(m->engine()); + Scope scope(m->engine()); ScopedValue arg(scope, callData->args[0]); if (DateObject *d = arg->asDateObject()) arg = d->value; @@ -1291,7 +1291,7 @@ Value DatePrototype::method_toISOString(SimpleCallContext *ctx) Value DatePrototype::method_toJSON(SimpleCallContext *ctx) { - ValueScope scope(ctx); + Scope scope(ctx); ScopedValue O(scope, __qmljs_to_object(ctx, ValueRef(&ctx->thisObject))); ScopedValue tv(scope, __qmljs_to_primitive(O, NUMBER_HINT)); |
