src/script/api/qscriptprogram_p.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
--- a/src/script/api/qscriptprogram_p.h	Wed Jun 23 19:07:03 2010 +0300
+++ b/src/script/api/qscriptprogram_p.h	Tue Jul 06 15:10:48 2010 +0300
@@ -37,6 +37,8 @@
 
 #include <QtCore/qobjectdefs.h>
 
+#include "RefPtr.h"
+
 namespace JSC
 {
     class EvalExecutable;
@@ -67,7 +69,7 @@
     int firstLineNumber;
 
     QScriptEnginePrivate *engine;
-    JSC::EvalExecutable *_executable;
+    WTF::RefPtr<JSC::EvalExecutable> _executable;
     intptr_t sourceId;
     bool isCompiled;
 };