fix some clang-tidy member init suggestions.

Change-Id: Iebf251c519989e23a995ecf93abe008ab54b85ad
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/101250
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/fxjs/cfx_globaldata.h b/fxjs/cfx_globaldata.h
index bce77db..6b94265 100644
--- a/fxjs/cfx_globaldata.h
+++ b/fxjs/cfx_globaldata.h
@@ -33,7 +33,7 @@
     ~Element();
 
     CFX_KeyValue data;
-    bool bPersistent;
+    bool bPersistent = false;
   };
 
   static CFX_GlobalData* GetRetainedInstance(Delegate* pDelegate);
diff --git a/fxjs/cfx_keyvalue.h b/fxjs/cfx_keyvalue.h
index 97cbc1f..a6ff52a 100644
--- a/fxjs/cfx_keyvalue.h
+++ b/fxjs/cfx_keyvalue.h
@@ -28,8 +28,8 @@
   ~CFX_Value();
 
   DataType nType = DataType::kNull;
-  bool bData;
-  double dData;
+  bool bData = false;
+  double dData = 0.0;
   ByteString sData;
   std::vector<std::unique_ptr<CFX_KeyValue>> objData;
 };
diff --git a/fxjs/cjs_delaydata.h b/fxjs/cjs_delaydata.h
index 690cab8..861dbab 100644
--- a/fxjs/cjs_delaydata.h
+++ b/fxjs/cjs_delaydata.h
@@ -20,9 +20,9 @@
 
   FIELD_PROP eProp;
   int nControlIndex;
+  int32_t num = 0;
+  bool b = false;
   WideString sFieldName;
-  int32_t num;
-  bool b;
   ByteString bytestring;
   WideString widestring;
   CFX_FloatRect rect;
diff --git a/fxjs/cjs_global.cpp b/fxjs/cjs_global.cpp
index cc5997a..ffbbfcb 100644
--- a/fxjs/cjs_global.cpp
+++ b/fxjs/cjs_global.cpp
@@ -155,8 +155,8 @@
 }
 
 CJS_Global::CJS_Global(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime)
-    : CJS_Object(pObject, pRuntime) {
-  m_pGlobalData = CFX_GlobalData::GetRetainedInstance(nullptr);
+    : CJS_Object(pObject, pRuntime),
+      m_pGlobalData(CFX_GlobalData::GetRetainedInstance(nullptr)) {
   UpdateGlobalPersistentVariables();
 }