diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2017-09-22 00:06:59 +0300 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-21 21:44:36 +0000 |
commit | 09b5ce623fc47bc3d19d60aa2a219c838971dd4b (patch) | |
tree | 3f6d000ff4894f29cc86d4c29e90d19059b91b81 /core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp | |
parent | b872a93e5cd940dc28ad960b13b0cf01a6db3400 (diff) | |
download | pdfium-09b5ce623fc47bc3d19d60aa2a219c838971dd4b.tar.xz |
Rename CPDF_SyntaxParser::GetObject to GetObjectBody
Change-Id: Ia8fd1893f862391fbada396f505ac16985b59cd6
Reviewed-on: https://pdfium-review.googlesource.com/12850
Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp')
-rw-r--r-- | core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp b/core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp index 6b54c70db6..af559c5ba6 100644 --- a/core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp +++ b/core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp @@ -152,7 +152,7 @@ TEST(cpdf_syntax_parser, GetInvalidReference) { uint8_t data[] = "4294967295 0 R"; parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 14, false), 0); std::unique_ptr<CPDF_Object> ref = - parser.GetObject(nullptr, CPDF_Object::kInvalidObjNum, 0, false); + parser.GetObjectBody(nullptr, CPDF_Object::kInvalidObjNum, 0, false); EXPECT_FALSE(ref); } |