| Index: core/fxcodec/jbig2/JBig2_Context.h
|
| diff --git a/core/fxcodec/jbig2/JBig2_Context.h b/core/fxcodec/jbig2/JBig2_Context.h
|
| index 1577b22d37e6a524136bad22338db2c89fcddc4e..a0e1a8fcacfa3ea22ec229b8b6a29179121759a7 100644
|
| --- a/core/fxcodec/jbig2/JBig2_Context.h
|
| +++ b/core/fxcodec/jbig2/JBig2_Context.h
|
| @@ -25,8 +25,8 @@ class IFX_Pause;
|
|
|
| // Cache is keyed by the ObjNum of a stream and an index within the stream.
|
| using CJBig2_CacheKey = std::pair<uint32_t, uint32_t>;
|
| -// NB: CJBig2_SymbolDict* is owned.
|
| -using CJBig2_CachePair = std::pair<CJBig2_CacheKey, CJBig2_SymbolDict*>;
|
| +using CJBig2_CachePair =
|
| + std::pair<CJBig2_CacheKey, std::unique_ptr<CJBig2_SymbolDict>>;
|
|
|
| #define JBIG2_SUCCESS 0
|
| #define JBIG2_FAILED -1
|
|
|