diff options
author | Lei Zhang <thestig@chromium.org> | 2017-05-22 17:05:40 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-23 00:18:13 +0000 |
commit | b45324bfb414acc595e478dc7dc63ac43c792580 (patch) | |
tree | 90af2bb4c6386b2b2825c80d7405dace0416c69b /core/fpdfdoc/cpvt_fontmap.cpp | |
parent | 4cb82ee95256f110489f2b503e70729c44419e74 (diff) | |
download | pdfium-b45324bfb414acc595e478dc7dc63ac43c792580.tar.xz |
Use NOTREACHED() in more places.
Change-Id: I88466943171f19259f84add69679741d44c8e123
Reviewed-on: https://pdfium-review.googlesource.com/5551
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpvt_fontmap.cpp')
-rw-r--r-- | core/fpdfdoc/cpvt_fontmap.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/fpdfdoc/cpvt_fontmap.cpp b/core/fpdfdoc/cpvt_fontmap.cpp index 42774d43d2..c6e1a85dae 100644 --- a/core/fpdfdoc/cpvt_fontmap.cpp +++ b/core/fpdfdoc/cpvt_fontmap.cpp @@ -12,6 +12,7 @@ #include "core/fpdfapi/parser/cpdf_reference.h" #include "core/fpdfdoc/cpdf_interform.h" #include "core/fxcrt/fx_codepage.h" +#include "third_party/base/logging.h" CPVT_FontMap::CPVT_FontMap(CPDF_Document* pDoc, CPDF_Dictionary* pResDict, @@ -78,16 +79,16 @@ CFX_ByteString CPVT_FontMap::GetPDFFontAlias(int32_t nFontIndex) { int32_t CPVT_FontMap::GetWordFontIndex(uint16_t word, int32_t charset, int32_t nFontIndex) { - ASSERT(false); + NOTREACHED(); return 0; } int32_t CPVT_FontMap::CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) { - ASSERT(false); + NOTREACHED(); return 0; } int32_t CPVT_FontMap::CharSetFromUnicode(uint16_t word, int32_t nOldCharset) { - ASSERT(false); + NOTREACHED(); return FX_CHARSET_ANSI; } |