summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-10-07 21:32:07 -0700
committerLei Zhang <thestig@chromium.org>2015-10-07 21:32:07 -0700
commit26e53d2510f5c81583cea2c2cadd4debf52f04f7 (patch)
tree28e5793a0ae8d9c626733458e0a408b39ecd55df /core/src
parent26c9e2caf07b57aeec24a13dd0a824d05af37fa2 (diff)
downloadpdfium-26e53d2510f5c81583cea2c2cadd4debf52f04f7.tar.xz
Merge to XFA: Fix the Windows build after commit 8a9ce57.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1396533002 . (cherry picked from commit 80aa8c26887d98f654a9eecf7298663656cfc40f) Review URL: https://codereview.chromium.org/1396743002 .
Diffstat (limited to 'core/src')
-rw-r--r--core/src/fxcodec/jbig2/JBig2_Context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fxcodec/jbig2/JBig2_Context.cpp b/core/src/fxcodec/jbig2/JBig2_Context.cpp
index 3e0ebb36e3..e8d4bb8cc8 100644
--- a/core/src/fxcodec/jbig2/JBig2_Context.cpp
+++ b/core/src/fxcodec/jbig2/JBig2_Context.cpp
@@ -1293,7 +1293,7 @@ int32_t CJBig2_Context::parseRegionInfo(JBig2RegionInfo* pRI) {
JBig2HuffmanCode* CJBig2_Context::decodeSymbolIDHuffmanTable(
CJBig2_BitStream* pStream,
FX_DWORD SBNUMSYMS) {
- size_t kRunCodesSize = 35;
+ const size_t kRunCodesSize = 35;
int32_t runcodes[kRunCodesSize];
int32_t runcodes_len[kRunCodesSize];
for (int32_t i = 0; i < kRunCodesSize; ++i) {