From a0aef45d9181aee30198fdb87557d61f62ad2a7c Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 3 Jul 2018 20:28:47 +0000 Subject: Remove a parameter from CPDF_SyntaxParser::FindTag(). The limit parameter is always set to 0. Change-Id: Idf7f44e1c5a895e05ad474932d3e9df85f435e3f Reviewed-on: https://pdfium-review.googlesource.com/36990 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fpdfapi/parser/cpdf_syntax_parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfapi/parser/cpdf_syntax_parser.h') diff --git a/core/fpdfapi/parser/cpdf_syntax_parser.h b/core/fpdfapi/parser/cpdf_syntax_parser.h index a29d631c95..962c32753d 100644 --- a/core/fpdfapi/parser/cpdf_syntax_parser.h +++ b/core/fpdfapi/parser/cpdf_syntax_parser.h @@ -54,7 +54,7 @@ class CPDF_SyntaxParser { void ToNextLine(); void ToNextWord(); bool BackwardsSearchToWord(const ByteStringView& word, FX_FILESIZE limit); - FX_FILESIZE FindTag(const ByteStringView& tag, FX_FILESIZE limit); + FX_FILESIZE FindTag(const ByteStringView& tag); bool ReadBlock(uint8_t* pBuf, uint32_t size); bool GetCharAt(FX_FILESIZE pos, uint8_t& ch); ByteString GetNextWord(bool* bIsNumber); -- cgit v1.2.3