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/src/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/src/pdfwindow')
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_FontMap.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp index d5ca376882..fadea905d4 100644 --- a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp @@ -151,13 +151,8 @@ void CPWL_FontMap::Empty() { } } -void CPWL_FontMap::Initial(const FX_CHAR* fontname) { - CFX_ByteString sFontName = fontname; - - if (sFontName.IsEmpty()) - sFontName = DEFAULT_FONT_NAME; - - GetFontIndex(sFontName, ANSI_CHARSET, FALSE); +void CPWL_FontMap::Initialize() { + GetFontIndex(DEFAULT_FONT_NAME, ANSI_CHARSET, FALSE); } /* |