diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-06-10 15:52:04 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-10 16:07:50 +0200 |
commit | bc4380afde2f399b7ef6ac9c379d45a20a6c184c (patch) | |
tree | 93ba9c4fbe1cc5ec593cc07cb21aa9e4695e9523 /src/quick/items/context2d/qquickcontext2d_p.h | |
parent | b0f97d6bf16f802d7af42176956da0eb2dd7b54f (diff) |
Remove usage of v8 from the context2d header
Change-Id: Icfcae6d55d5f912a756630d10e6a098adada0591
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/quick/items/context2d/qquickcontext2d_p.h')
-rw-r--r-- | src/quick/items/context2d/qquickcontext2d_p.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/quick/items/context2d/qquickcontext2d_p.h b/src/quick/items/context2d/qquickcontext2d_p.h index b1d6c2f796..0fe8bc6db2 100644 --- a/src/quick/items/context2d/qquickcontext2d_p.h +++ b/src/quick/items/context2d/qquickcontext2d_p.h @@ -55,6 +55,7 @@ #include <private/qv8engine_p.h> #include <QtCore/QWaitCondition> +#include <private/qv4value_p.h> //#define QQUICKCONTEXT2D_DEBUG //enable this for just DEBUG purpose! @@ -233,9 +234,9 @@ public: QQuickCanvasItem* m_canvas; QQuickContext2DCommandBuffer* m_buffer; QPainterPath m_path; - v8::Handle<v8::Value> m_fillStyle; - v8::Handle<v8::Value> m_strokeStyle; - v8::Handle<v8::Value> m_v8path; + QV4::PersistentValue m_fillStyle; + QV4::PersistentValue m_strokeStyle; + QV4::PersistentValue m_v4path; QV8Engine *m_v8engine; QSurface *m_surface; QOpenGLContext *m_glContext; |