diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-05-08 07:31:04 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-08 11:25:02 +0200 |
commit | 0798c6facb509655f136450230e74d99a08a11df (patch) | |
tree | 55c5f594610e8fb4cb6b23bd7a86d0265e037321 /src/qml/qml/v8/qv8listwrapper_p.h | |
parent | 50d80a50cf122057acaa5773cae7f675982b3577 (diff) |
Convert qv8listwrapper to use QV4::PersistentValue
Change-Id: I1a85ae5ca0f4688174cda6127a326aed51f64b1b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qv8listwrapper_p.h')
-rw-r--r-- | src/qml/qml/v8/qv8listwrapper_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/qml/v8/qv8listwrapper_p.h b/src/qml/qml/v8/qv8listwrapper_p.h index e2ec535abc..8031a3beaf 100644 --- a/src/qml/qml/v8/qv8listwrapper_p.h +++ b/src/qml/qml/v8/qv8listwrapper_p.h @@ -57,6 +57,8 @@ #include <QtQml/qqmllist.h> #include <private/qv8_p.h> +#include <private/qv4value_p.h> + QT_BEGIN_NAMESPACE class QV8Engine; @@ -88,7 +90,7 @@ private: static v8::Handle<v8::Array> Enumerator(const v8::AccessorInfo &info); QV8Engine *m_engine; - v8::Persistent<v8::Function> m_constructor; + QV4::PersistentValue m_constructor; }; QT_END_NAMESPACE |