aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v8/qv8include_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-08 07:30:42 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-08 11:24:37 +0200
commit50d80a50cf122057acaa5773cae7f675982b3577 (patch)
treed38daab392934ca0892e0cbc9417610a2e7ec93e /src/qml/qml/v8/qv8include_p.h
parente3655ab7a7c121c05a53bc9c5861297e9159128f (diff)
Convert qv8include to QV4::PersistentValue
Change-Id: I9764ad7d28932bd67e3d284415c26f1b3b837056 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qv8include_p.h')
-rw-r--r--src/qml/qml/v8/qv8include_p.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/qml/qml/v8/qv8include_p.h b/src/qml/qml/v8/qv8include_p.h
index ab7b2ff8db..c7118c22ff 100644
--- a/src/qml/qml/v8/qv8include_p.h
+++ b/src/qml/qml/v8/qv8include_p.h
@@ -61,6 +61,8 @@
#include <private/qv8_p.h>
+#include <private/qv4value_p.h>
+
QT_BEGIN_NAMESPACE
class QQmlEngine;
@@ -100,11 +102,11 @@ private:
QUrl m_url;
int m_redirectCount;
- v8::Persistent<v8::Function> m_callbackFunction;
- v8::Persistent<v8::Object> m_resultObject;
+ QV4::PersistentValue m_callbackFunction;
+ QV4::PersistentValue m_resultObject;
QQmlGuardedContextData m_context;
- v8::Persistent<v8::Object> m_qmlglobal;
+ QV4::PersistentValue m_qmlglobal;
};
QT_END_NAMESPACE