Remove unused CFGAS_GEFont::GetBBox(). Change-Id: I8227f5e15c74c3bbb12eb6f178c1af75e6dd2d47 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/85311 Reviewed-by: Hui Yingst <nigi@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/xfa/fgas/font/cfgas_gefont.cpp b/xfa/fgas/font/cfgas_gefont.cpp index c144a26..c54a61e 100644 --- a/xfa/fgas/font/cfgas_gefont.cpp +++ b/xfa/fgas/font/cfgas_gefont.cpp
@@ -198,10 +198,6 @@ return rtBBox; } -Optional<FX_RECT> CFGAS_GEFont::GetBBox() { - return m_pFont->GetBBox(); -} - int32_t CFGAS_GEFont::GetGlyphIndex(wchar_t wUnicode) { int32_t glyph; RetainPtr<CFGAS_GEFont> font;
diff --git a/xfa/fgas/font/cfgas_gefont.h b/xfa/fgas/font/cfgas_gefont.h index d0583aa..b11dbbf 100644 --- a/xfa/fgas/font/cfgas_gefont.h +++ b/xfa/fgas/font/cfgas_gefont.h
@@ -45,7 +45,6 @@ int32_t GetAscent() const; int32_t GetDescent() const; Optional<FX_RECT> GetCharBBox(wchar_t wUnicode); - Optional<FX_RECT> GetBBox(); RetainPtr<CFGAS_GEFont> GetSubstFont(int32_t iGlyphIndex); CFX_Font* GetDevFont() const { return m_pFont.Get(); }