diff options
author | Lei Zhang <thestig@chromium.org> | 2015-12-24 21:01:20 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-12-24 21:01:20 -0800 |
commit | ae58ed8bccc56dd78c12d89972b19d58de94f790 (patch) | |
tree | 714ad4479ffc449d6325e66b7596aa5e50778041 /fpdfsdk/include/pdfwindow | |
parent | d20dfba2ae10e8aeb328328f09da79ff904110a8 (diff) | |
download | pdfium-ae58ed8bccc56dd78c12d89972b19d58de94f790.tar.xz |
Fix a bad virtual keyword removal from commit 0f6b51c.
BUG=546744
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1542373002 .
Diffstat (limited to 'fpdfsdk/include/pdfwindow')
-rw-r--r-- | fpdfsdk/include/pdfwindow/PWL_FontMap.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/fpdfsdk/include/pdfwindow/PWL_FontMap.h b/fpdfsdk/include/pdfwindow/PWL_FontMap.h index c17483439c..c8c8722c11 100644 --- a/fpdfsdk/include/pdfwindow/PWL_FontMap.h +++ b/fpdfsdk/include/pdfwindow/PWL_FontMap.h @@ -80,10 +80,11 @@ class CPWL_FontMap : public IFX_Edit_FontMap { uint8_t nCharset); protected: - void Initial(const FX_CHAR* fontname = NULL); - CPDF_Document* GetDocument(); - CPDF_Font* FindFontSameCharset(CFX_ByteString& sFontAlias, int32_t nCharset); - void AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias); + virtual void Initialize(); + virtual CPDF_Document* GetDocument(); + virtual CPDF_Font* FindFontSameCharset(CFX_ByteString& sFontAlias, + int32_t nCharset); + virtual void AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias); FX_BOOL KnowWord(int32_t nFontIndex, FX_WORD word); @@ -126,9 +127,10 @@ class CPWL_DocFontMap : public CPWL_FontMap { CPDF_Document* pAttachedDoc); ~CPWL_DocFontMap() override; - virtual CPDF_Document* GetDocument(); - private: + // CPWL_FontMap: + CPDF_Document* GetDocument() override; + CPDF_Document* m_pAttachedDoc; }; |