| Index: core/fpdfapi/fpdf_parser/cpdf_parser.cpp
|
| diff --git a/core/fpdfapi/fpdf_parser/cpdf_parser.cpp b/core/fpdfapi/fpdf_parser/cpdf_parser.cpp
|
| index e2c88d7e7188bbd9244b1620ae9c08e0dd99327b..c0142658b44f5ec2c4744e21872231597f9312d6 100644
|
| --- a/core/fpdfapi/fpdf_parser/cpdf_parser.cpp
|
| +++ b/core/fpdfapi/fpdf_parser/cpdf_parser.cpp
|
| @@ -1543,7 +1543,8 @@ FX_BOOL CPDF_Parser::IsLinearizedFile(IFX_FileRead* pFileAccess,
|
| return FALSE;
|
| }
|
|
|
| -CPDF_Parser::Error CPDF_Parser::StartAsyncParse(IFX_FileRead* pFileAccess) {
|
| +CPDF_Parser::Error CPDF_Parser::StartLinearizedParse(
|
| + IFX_FileRead* pFileAccess) {
|
| CloseParser();
|
| m_bXRefStream = FALSE;
|
| m_LastXRefOffset = 0;
|
| @@ -1585,7 +1586,7 @@ CPDF_Parser::Error CPDF_Parser::StartAsyncParse(IFX_FileRead* pFileAccess) {
|
| if (eRet != SUCCESS)
|
| return eRet;
|
|
|
| - m_pDocument->LoadAsynDoc(m_pLinearized->GetDict());
|
| + m_pDocument->LoadLinearizedDoc(m_pLinearized->GetDict());
|
| if (!m_pDocument->GetRoot() || m_pDocument->GetPageCount() == 0) {
|
| if (bXRefRebuilt)
|
| return FORMAT_ERROR;
|
| @@ -1598,7 +1599,7 @@ CPDF_Parser::Error CPDF_Parser::StartAsyncParse(IFX_FileRead* pFileAccess) {
|
| if (eRet != SUCCESS)
|
| return eRet;
|
|
|
| - m_pDocument->LoadAsynDoc(m_pLinearized->GetDict());
|
| + m_pDocument->LoadLinearizedDoc(m_pLinearized->GetDict());
|
| if (!m_pDocument->GetRoot())
|
| return FORMAT_ERROR;
|
| }
|
|
|