diff options
Diffstat (limited to 'core/fpdfapi/font/cpdf_tounicodemap.cpp')
-rw-r--r-- | core/fpdfapi/font/cpdf_tounicodemap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cpdf_tounicodemap.cpp b/core/fpdfapi/font/cpdf_tounicodemap.cpp index 0b746d7bfc..88904f27f5 100644 --- a/core/fpdfapi/font/cpdf_tounicodemap.cpp +++ b/core/fpdfapi/font/cpdf_tounicodemap.cpp @@ -126,7 +126,7 @@ void CPDF_ToUnicodeMap::Load(CPDF_Stream* pStream) { CIDSet cid_set = CIDSET_UNKNOWN; auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); pAcc->LoadAllDataFiltered(); - CPDF_SimpleParser parser(pAcc->GetData(), pAcc->GetSize()); + CPDF_SimpleParser parser(pAcc->GetDataView()); while (1) { ByteStringView word = parser.GetWord(); if (word.IsEmpty()) { |