summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_simple_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/parser/cpdf_simple_parser.h')
-rw-r--r--core/fpdfapi/parser/cpdf_simple_parser.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/fpdfapi/parser/cpdf_simple_parser.h b/core/fpdfapi/parser/cpdf_simple_parser.h
index f02a58c98b..8a07323a69 100644
--- a/core/fpdfapi/parser/cpdf_simple_parser.h
+++ b/core/fpdfapi/parser/cpdf_simple_parser.h
@@ -19,11 +19,8 @@ class CPDF_SimpleParser {
ByteStringView GetWord();
- // Find the token and its |nParams| parameters from the start of data,
- // and move the current position to the start of those parameters.
- bool FindTagParamFromStart(const ByteStringView& token, int nParams);
-
- uint32_t GetCurPosForTest() const { return cur_pos_; }
+ void SetCurPos(uint32_t pos) { cur_pos_ = pos; }
+ uint32_t GetCurPos() const { return cur_pos_; }
private:
const ByteStringView data_;