Index: core/src/fxcodec/jbig2/JBig2_Context.cpp |
diff --git a/core/src/fxcodec/jbig2/JBig2_Context.cpp b/core/src/fxcodec/jbig2/JBig2_Context.cpp |
index bd2421e3f94715255a25093a2ad118e342e2afd4..9f9796d9016010903c401b24e1ae28273f2e47d7 100644 |
--- a/core/src/fxcodec/jbig2/JBig2_Context.cpp |
+++ b/core/src/fxcodec/jbig2/JBig2_Context.cpp |
@@ -22,7 +22,9 @@ |
// list keeps track of the freshness of entries, with freshest ones |
// at the front. Even a tiny cache size like 2 makes a dramatic |
// difference for typical JBIG2 documents. |
-static const int kSymbolDictCacheMaxSize = 2; |
+ |
+// Disable until we can figure out how to clear cache between documents. |
+static const int kSymbolDictCacheMaxSize = 0; |
CJBig2_Context* CJBig2_Context::CreateContext( |
const uint8_t* pGlobalData, |