Initialize CXFA_Graphics::TInfo in the header.

Change-Id: I6f6c8ba3df18ae2a41eed6c865e82cfc2a7944f8
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/70923
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/xfa/fxgraphics/cxfa_graphics.cpp b/xfa/fxgraphics/cxfa_graphics.cpp
index 1a56972..d5c7f78 100644
--- a/xfa/fxgraphics/cxfa_graphics.cpp
+++ b/xfa/fxgraphics/cxfa_graphics.cpp
@@ -407,8 +407,7 @@
   }
 }
 
-CXFA_Graphics::TInfo::TInfo()
-    : isActOnDash(false), strokeColor(nullptr), fillColor(nullptr) {}
+CXFA_Graphics::TInfo::TInfo() = default;
 
 CXFA_Graphics::TInfo::TInfo(const TInfo& info)
     : graphState(info.graphState),
diff --git a/xfa/fxgraphics/cxfa_graphics.h b/xfa/fxgraphics/cxfa_graphics.h
index d6ab7de..1fdfe94 100644
--- a/xfa/fxgraphics/cxfa_graphics.h
+++ b/xfa/fxgraphics/cxfa_graphics.h
@@ -63,9 +63,9 @@
 
     CFX_GraphStateData graphState;
     CFX_Matrix CTM;
-    bool isActOnDash;
-    CXFA_GEColor strokeColor;
-    CXFA_GEColor fillColor;
+    bool isActOnDash = false;
+    CXFA_GEColor strokeColor{nullptr};
+    CXFA_GEColor fillColor{nullptr};
   };
 
   void RenderDeviceStrokePath(const CXFA_GEPath* path,