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/fpdfapi/font | |
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/fpdfapi/font')
-rw-r--r-- | core/fpdfapi/font/cpdf_font.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cpdf_font.cpp b/core/fpdfapi/font/cpdf_font.cpp index 193ee4a331..1a7fb60b0b 100644 --- a/core/fpdfapi/font/cpdf_font.cpp +++ b/core/fpdfapi/font/cpdf_font.cpp @@ -25,6 +25,7 @@ #include "core/fpdfapi/parser/cpdf_stream_acc.h" #include "core/fxcrt/fx_memory.h" #include "core/fxge/fx_freetype.h" +#include "third_party/base/logging.h" #include "third_party/base/ptr_util.h" #include "third_party/base/stl_util.h" @@ -434,7 +435,7 @@ const char* CPDF_Font::GetAdobeCharName( const std::vector<CFX_ByteString>& charnames, int charcode) { if (charcode < 0 || charcode >= 256) { - ASSERT(false); + NOTREACHED(); return nullptr; } |