diff options
author | Lei Zhang <thestig@chromium.org> | 2018-01-11 14:26:01 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-11 14:26:01 +0000 |
commit | 7981d15a799e3bdfaf6bd3e04fc08a6a43d143ec (patch) | |
tree | e9afc04bbee08b17e32c2286c6e2ae1d9ea52d41 /core/fxcrt/bytestring.cpp | |
parent | 8b68d30fdc8ae33a8a5c2d647bd7a67f1271ff90 (diff) | |
download | pdfium-7981d15a799e3bdfaf6bd3e04fc08a6a43d143ec.tar.xz |
Add jumbo build support for fdrm, fpdfdoc and fxcrt.
BUG=pdfium:964
Change-Id: Ifde885861aeafac803948bd537de826e2a3fddca
Reviewed-on: https://pdfium-review.googlesource.com/22732
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/bytestring.cpp')
-rw-r--r-- | core/fxcrt/bytestring.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fxcrt/bytestring.cpp b/core/fxcrt/bytestring.cpp index 3e4861ae60..2ab1379974 100644 --- a/core/fxcrt/bytestring.cpp +++ b/core/fxcrt/bytestring.cpp @@ -69,7 +69,9 @@ bool IsValidCodePage(uint16_t codepage) { #endif ByteString GetByteString(uint16_t codepage, const WideStringView& wstr) { +#ifndef NDEBUG ASSERT(IsValidCodePage(codepage)); +#endif int src_len = wstr.GetLength(); int dest_len = |