aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlxmlhttprequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlxmlhttprequest.cpp')
-rw-r--r--src/qml/qml/qqmlxmlhttprequest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlxmlhttprequest.cpp b/src/qml/qml/qqmlxmlhttprequest.cpp
index f5451a2976..552fcd3975 100644
--- a/src/qml/qml/qqmlxmlhttprequest.cpp
+++ b/src/qml/qml/qqmlxmlhttprequest.cpp
@@ -904,7 +904,7 @@ ReturnedValue NamedNodeMap::get(Managed *m, String *name, bool *hasProperty)
NamedNodeMap *r = static_cast<NamedNodeMap *>(m);
QV4::ExecutionEngine *v4 = m->engine();
- name->makeIdentifier();
+ name->makeIdentifier(v4);
if (name->equals(v4->id_length))
return Primitive::fromInt32(r->d()->list.count()).asReturnedValue();
@@ -949,7 +949,7 @@ ReturnedValue NodeList::get(Managed *m, String *name, bool *hasProperty)
QV4::ExecutionEngine *v4 = m->engine();
NodeList *r = static_cast<NodeList *>(m);
- name->makeIdentifier();
+ name->makeIdentifier(v4);
if (name->equals(v4->id_length))
return Primitive::fromInt32(r->d()->d->children.count()).asReturnedValue();