Index: fpdfsdk/javascript/global.h |
diff --git a/fpdfsdk/javascript/global.h b/fpdfsdk/javascript/global.h |
index 02c51d98a934f56e61bd7dfc5a7db2732856d266..eca9aa12d1a8fdbde971f9a7c6df75df32651cc2 100644 |
--- a/fpdfsdk/javascript/global.h |
+++ b/fpdfsdk/javascript/global.h |
@@ -17,16 +17,9 @@ class CJS_GlobalVariableArray; |
class CJS_KeyValue; |
struct JSGlobalData { |
- JSGlobalData() { |
- nType = 0; |
- dData = 0; |
- bData = FALSE; |
- sData = ""; |
- bPersistent = FALSE; |
- bDeleted = FALSE; |
- } |
+ JSGlobalData(); |
+ ~JSGlobalData(); |
- ~JSGlobalData() { pData.Reset(); } |
int nType; // 0:int 1:bool 2:string 3:obj |
double dData; |
bool bData; |