summaryrefslogtreecommitdiff
path: root/src/qml/jsruntime/qv4globalobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-19 12:05:18 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-22 01:06:20 +0200
commit713ae5106ff04d15c5854e901681d7f3386b9604 (patch)
tree938279556853d5a709920805da2c0580296d294b /src/qml/jsruntime/qv4globalobject.cpp
parent62cf5b1b6d7dab9517dc1df2b0d1790682ed58cf (diff)
downloadqtdeclarative-713ae5106ff04d15c5854e901681d7f3386b9604.tar.gz
Change the runtime API over to using StringRef's instead of String*
Change-Id: I0ea95e6cca995dc5f98871f0369204af18e48111 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4globalobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4globalobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4globalobject.cpp b/src/qml/jsruntime/qv4globalobject.cpp
index 9ec70f59be..ae91b11991 100644
--- a/src/qml/jsruntime/qv4globalobject.cpp
+++ b/src/qml/jsruntime/qv4globalobject.cpp
@@ -408,7 +408,7 @@ ReturnedValue EvalFunction::evalCall(Value /*thisObject*/, Value *args, int argc
CompiledData::CompilationUnit * const oldCompilationUnit = ctx->compilationUnit;
const CompiledData::Function * const oldCompiledFunction = ctx->compiledFunction;
- String ** const oldRuntimeStrings = ctx->runtimeStrings;
+ SafeString * const oldRuntimeStrings = ctx->runtimeStrings;
ctx->compilationUnit = function->compilationUnit;
ctx->compiledFunction = function->compiledFunction;
ctx->runtimeStrings = function->compilationUnit->runtimeStrings;