diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-04-30 20:55:41 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-07-22 13:49:10 +0200 |
commit | c9081fab7c63e50d2a3b7cfe3e78110a5922dc29 (patch) | |
tree | 81bdde5b1239a429a0633d5d7de20a9beb6286e3 /src/qml/jsruntime/qv4globalobject.cpp | |
parent | d44cac4028df512b37b161e9f3fc9f7ba1c504bc (diff) |
Rename Managed::managedData() to d() to be consistent
No need to differentiate in the name anymore, as the data
structures all inherit from each other now.
Change-Id: Ia41f50ce4e521f9626d874311ceb57e0e194888b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4globalobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4globalobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4globalobject.cpp b/src/qml/jsruntime/qv4globalobject.cpp index 72be42d972..e78b913302 100644 --- a/src/qml/jsruntime/qv4globalobject.cpp +++ b/src/qml/jsruntime/qv4globalobject.cpp @@ -409,9 +409,9 @@ ReturnedValue EvalFunction::evalCall(CallData *callData, bool directCall) if (!function) return Encode::undefined(); - managedData()->strictMode = function->isStrict() || (ctx->strictMode); + d()->strictMode = function->isStrict() || (ctx->strictMode); - managedData()->needsActivation = function->needsActivation(); + d()->needsActivation = function->needsActivation(); if (strictMode()) { ScopedFunctionObject e(scope, FunctionObject::createScriptFunction(ctx, function)); |