Chromium Code Reviews| Index: core/fxcodec/jbig2/JBig2_Context.cpp |
| diff --git a/core/fxcodec/jbig2/JBig2_Context.cpp b/core/fxcodec/jbig2/JBig2_Context.cpp |
| index a0a411fbcfd17d3c82674c76808de8ed46debec8..25c9ff76494075dd43801dcc2fdc455115cea6af 100644 |
| --- a/core/fxcodec/jbig2/JBig2_Context.cpp |
| +++ b/core/fxcodec/jbig2/JBig2_Context.cpp |
| @@ -631,7 +631,7 @@ int32_t CJBig2_Context::parseSymbolDict(CJBig2_Segment* pSegment, |
| return JBIG2_ERROR_FATAL; |
| m_pStream->alignByte(); |
| } |
| - if (m_bIsGlobal && kSymbolDictCacheMaxSize > 0) { |
| + if (m_bIsGlobal) { |
|
Tom Sepez
2016/06/03 18:11:46
This probably wanted to be an ifdef to remove this
|
| std::unique_ptr<CJBig2_SymbolDict> value = |
| pSegment->m_Result.sd->DeepCopy(); |
| int size = pdfium::CollectionSize<int>(*m_pSymbolDictCache); |