| Index: core/fxcrt/fx_basic.h
|
| diff --git a/core/fxcrt/fx_basic.h b/core/fxcrt/fx_basic.h
|
| index e974e3061cfd2dc7d4457cf6cf8737d2034763d4..7096e6f8dffac376e93c2ac7193035b0e74e14d6 100644
|
| --- a/core/fxcrt/fx_basic.h
|
| +++ b/core/fxcrt/fx_basic.h
|
| @@ -41,7 +41,7 @@ class CFX_BinaryBuf {
|
| void Delete(int start_index, int count);
|
|
|
| // Releases ownership of |m_pBuffer| and returns it.
|
| - uint8_t* DetachBuffer();
|
| + std::unique_ptr<uint8_t, FxFreeDeleter> DetachBuffer();
|
|
|
| protected:
|
| void ExpandBuf(FX_STRSIZE size);
|
|
|