Remove unused members in CFX_ImageStretcher.

Also mark a couple more as consts.

Change-Id: I378279eb01d8748aeb3747e5d310106a4654c18b
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/75492
Reviewed-by: Hui Yingst <nigi@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/core/fxge/dib/cfx_imagestretcher.cpp b/core/fxge/dib/cfx_imagestretcher.cpp
index bbb4153..e8a6451 100644
--- a/core/fxge/dib/cfx_imagestretcher.cpp
+++ b/core/fxge/dib/cfx_imagestretcher.cpp
@@ -47,8 +47,7 @@
       m_DestWidth(dest_width),
       m_DestHeight(dest_height),
       m_ClipRect(bitmap_rect),
-      m_DestFormat(GetStretchedFormat(*pSource)),
-      m_DestBPP(GetBppFromFormat(m_DestFormat)) {
+      m_DestFormat(GetStretchedFormat(*pSource)) {
   ASSERT(m_ClipRect.Valid());
 }
 
diff --git a/core/fxge/dib/cfx_imagestretcher.h b/core/fxge/dib/cfx_imagestretcher.h
index dac71eb..3beb199 100644
--- a/core/fxge/dib/cfx_imagestretcher.h
+++ b/core/fxge/dib/cfx_imagestretcher.h
@@ -10,7 +10,6 @@
 #include <memory>
 
 #include "core/fxcrt/fx_coordinates.h"
-#include "core/fxcrt/fx_memory_wrappers.h"
 #include "core/fxcrt/retain_ptr.h"
 #include "core/fxcrt/unowned_ptr.h"
 #include "core/fxge/dib/fx_dib.h"
@@ -42,14 +41,11 @@
   UnownedPtr<ScanlineComposerIface> const m_pDest;
   RetainPtr<CFX_DIBBase> m_pSource;
   std::unique_ptr<CStretchEngine> m_pStretchEngine;
-  std::unique_ptr<uint8_t, FxFreeDeleter> m_pScanline;
-  std::unique_ptr<uint8_t, FxFreeDeleter> m_pMaskScanline;
   const FXDIB_ResampleOptions m_ResampleOptions;
-  int m_DestWidth;
-  int m_DestHeight;
+  const int m_DestWidth;
+  const int m_DestHeight;
   const FX_RECT m_ClipRect;
   const FXDIB_Format m_DestFormat;
-  const int m_DestBPP;
 };
 
 #endif  // CORE_FXGE_DIB_CFX_IMAGESTRETCHER_H_