Fix the Windows build after commit 8a9ce57.
authorLei Zhang <thestig@chromium.org>
Wed, 7 Oct 2015 17:44:43 +0000 (10:44 -0700)
committerLei Zhang <thestig@chromium.org>
Wed, 7 Oct 2015 17:44:43 +0000 (10:44 -0700)
TBR=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1396533002 .

core/src/fxcodec/jbig2/JBig2_Context.cpp

index 3e0ebb3..e8d4bb8 100644 (file)
@@ -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) {