Remove one void* missed in a8e243f9e473

Should be a CFX_RectF* instead.

Change-Id: Ic340b760c39e611db30f4d05a11df33a570e49b9
Reviewed-on: https://pdfium-review.googlesource.com/c/48492
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/xfa/fwl/theme/cfwl_listboxtp.cpp b/xfa/fwl/theme/cfwl_listboxtp.cpp
index b98890a..7b614af 100644
--- a/xfa/fwl/theme/cfwl_listboxtp.cpp
+++ b/xfa/fwl/theme/cfwl_listboxtp.cpp
@@ -56,7 +56,7 @@
 void CFWL_ListBoxTP::DrawListBoxItem(CXFA_Graphics* pGraphics,
                                      uint32_t dwStates,
                                      const CFX_RectF* prtItem,
-                                     void* pData,
+                                     const CFX_RectF* pData,
                                      const CFX_Matrix* pMatrix) {
   if (dwStates & CFWL_PartState_Selected) {
     pGraphics->SaveGraphState();
@@ -71,6 +71,6 @@
     pGraphics->FillPath(&path, FXFILL_WINDING, pMatrix);
     pGraphics->RestoreGraphState();
   }
-  if (dwStates & CFWL_PartState_Focused && pData)
-    DrawFocus(pGraphics, static_cast<CFX_RectF*>(pData), pMatrix);
+  if ((dwStates & CFWL_PartState_Focused) && pData)
+    DrawFocus(pGraphics, pData, pMatrix);
 }
diff --git a/xfa/fwl/theme/cfwl_listboxtp.h b/xfa/fwl/theme/cfwl_listboxtp.h
index 03cc905..8c57e3f 100644
--- a/xfa/fwl/theme/cfwl_listboxtp.h
+++ b/xfa/fwl/theme/cfwl_listboxtp.h
@@ -21,7 +21,7 @@
   void DrawListBoxItem(CXFA_Graphics* pGraphics,
                        uint32_t dwStates,
                        const CFX_RectF* prtItem,
-                       void* pData,
+                       const CFX_RectF* pData,
                        const CFX_Matrix* pMatrix);
 };