Remove SystemFontInfoIface::MapFontByUnicode().

No code calls this, and all the implementations are stubs.

Change-Id: I48b234b611c4a874a8c25445458f54903e1ce7c9
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/59254
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/core/fxge/cfx_folderfontinfo.cpp b/core/fxge/cfx_folderfontinfo.cpp
index af49cee..f2145a0 100644
--- a/core/fxge/cfx_folderfontinfo.cpp
+++ b/core/fxge/cfx_folderfontinfo.cpp
@@ -327,15 +327,6 @@
   return nullptr;
 }
 
-#ifdef PDF_ENABLE_XFA
-void* CFX_FolderFontInfo::MapFontByUnicode(uint32_t dwUnicode,
-                                           int weight,
-                                           bool bItalic,
-                                           int pitch_family) {
-  return nullptr;
-}
-#endif  // PDF_ENABLE_XFA
-
 void* CFX_FolderFontInfo::GetFont(const char* face) {
   auto it = m_FontList.find(face);
   return it != m_FontList.end() ? it->second.get() : nullptr;
diff --git a/core/fxge/cfx_folderfontinfo.h b/core/fxge/cfx_folderfontinfo.h
index 2781715..4fd516d 100644
--- a/core/fxge/cfx_folderfontinfo.h
+++ b/core/fxge/cfx_folderfontinfo.h
@@ -29,12 +29,6 @@
                 int charset,
                 int pitch_family,
                 const char* family) override;
-#ifdef PDF_ENABLE_XFA
-  void* MapFontByUnicode(uint32_t dwUnicode,
-                         int weight,
-                         bool bItalic,
-                         int pitch_family) override;
-#endif  // PDF_ENABLE_XFA
   void* GetFont(const char* face) override;
   uint32_t GetFontData(void* hFont,
                        uint32_t table,
diff --git a/core/fxge/fx_ge_fontmap.cpp b/core/fxge/fx_ge_fontmap.cpp
index 74eee2f..c99d08d 100644
--- a/core/fxge/fx_ge_fontmap.cpp
+++ b/core/fxge/fx_ge_fontmap.cpp
@@ -9,15 +9,6 @@
 #include "build/build_config.h"
 #include "core/fxge/systemfontinfo_iface.h"
 
-#ifdef PDF_ENABLE_XFA
-void* SystemFontInfoIface::MapFontByUnicode(uint32_t dwUnicode,
-                                            int weight,
-                                            bool bItalic,
-                                            int pitch_family) {
-  return nullptr;
-}
-#endif  // PDF_ENABLE_XFA
-
 int SystemFontInfoIface::GetFaceIndex(void* hFont) {
   return 0;
 }
diff --git a/core/fxge/systemfontinfo_iface.h b/core/fxge/systemfontinfo_iface.h
index 520d737..d5d84c3 100644
--- a/core/fxge/systemfontinfo_iface.h
+++ b/core/fxge/systemfontinfo_iface.h
@@ -28,14 +28,6 @@
                         int charset,
                         int pitch_family,
                         const char* face) = 0;
-
-#ifdef PDF_ENABLE_XFA
-  virtual void* MapFontByUnicode(uint32_t dwUnicode,
-                                 int weight,
-                                 bool bItalic,
-                                 int pitch_family);
-#endif  // PDF_ENABLE_XFA
-
   virtual void* GetFont(const char* face) = 0;
   virtual uint32_t GetFontData(void* hFont,
                                uint32_t table,