summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptprogram_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/qscriptprogram_p.h')
-rw-r--r--src/script/api/qscriptprogram_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/script/api/qscriptprogram_p.h b/src/script/api/qscriptprogram_p.h
index 427ab34..95e75fd 100644
--- a/src/script/api/qscriptprogram_p.h
+++ b/src/script/api/qscriptprogram_p.h
@@ -37,6 +37,8 @@
#include <QtCore/qobjectdefs.h>
+#include "RefPtr.h"
+
namespace JSC
{
class EvalExecutable;
@@ -67,7 +69,7 @@ public:
int firstLineNumber;
QScriptEnginePrivate *engine;
- JSC::EvalExecutable *_executable;
+ WTF::RefPtr<JSC::EvalExecutable> _executable;
intptr_t sourceId;
bool isCompiled;
};