Index: core/fpdfapi/parser/fpdf_parser_utility.h |
diff --git a/core/fpdfapi/parser/fpdf_parser_utility.h b/core/fpdfapi/parser/fpdf_parser_utility.h |
index 589171f1a49fecd079608ba8a79c86ce691cd574..29f54ee853f5537ab5680d1b311951942c1ffd81 100644 |
--- a/core/fpdfapi/parser/fpdf_parser_utility.h |
+++ b/core/fpdfapi/parser/fpdf_parser_utility.h |
@@ -7,6 +7,7 @@ |
#ifndef CORE_FPDFAPI_PARSER_FPDF_PARSER_UTILITY_H_ |
#define CORE_FPDFAPI_PARSER_FPDF_PARSER_UTILITY_H_ |
+#include "core/fxcrt/cfx_retain_ptr.h" |
#include "core/fxcrt/fx_string.h" |
#include "core/fxcrt/fx_system.h" |
@@ -33,7 +34,7 @@ inline bool PDFCharIsLineEnding(uint8_t c) { |
return c == '\r' || c == '\n'; |
} |
-int32_t GetHeaderOffset(IFX_SeekableReadStream* pFile); |
+int32_t GetHeaderOffset(const CFX_RetainPtr<IFX_SeekableReadStream>& pFile); |
int32_t GetDirectInteger(CPDF_Dictionary* pDict, const CFX_ByteString& key); |
#endif // CORE_FPDFAPI_PARSER_FPDF_PARSER_UTILITY_H_ |