| Index: xfa/fde/xml/fde_xml_imp.cpp
|
| diff --git a/xfa/fde/xml/fde_xml_imp.cpp b/xfa/fde/xml/fde_xml_imp.cpp
|
| index 2bdaf5155fa9ac5c5147d2f49fdf02c711a60cd0..be8b6622448b533e13a9a06ad4b1e0e7d4a12a6f 100644
|
| --- a/xfa/fde/xml/fde_xml_imp.cpp
|
| +++ b/xfa/fde/xml/fde_xml_imp.cpp
|
| @@ -1314,7 +1314,8 @@ void CFDE_XMLSyntaxParser::Init(const CFX_RetainPtr<IFGAS_Stream>& pStream,
|
| return;
|
| }
|
|
|
| - m_pBuffer = FX_Alloc(FX_WCHAR, alloc_size_safe.ValueOrDie());
|
| + m_pBuffer = FX_Alloc(
|
| + FX_WCHAR, pdfium::base::ValueOrDieForType<size_t>(alloc_size_safe));
|
| m_pStart = m_pEnd = m_pBuffer;
|
| ASSERT(!m_BlockBuffer.IsInitialized());
|
| m_BlockBuffer.InitBuffer();
|
|
|