summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/pageint.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-21 17:47:29 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 17:47:29 -0800
commit12ff1eba3eaa4a27089f1837a0826dfcac163db2 (patch)
treed1aafa004d88a4de7af2d4eb430ebb8b198fcaea /core/fpdfapi/page/pageint.h
parent8edd6d72afec2bcc2247dd85edec99d156f13870 (diff)
downloadpdfium-12ff1eba3eaa4a27089f1837a0826dfcac163db2.tar.xz
Avoid calls to WrapUnique in CPDF_streamparser
Review-Url: https://codereview.chromium.org/2520953004
Diffstat (limited to 'core/fpdfapi/page/pageint.h')
-rw-r--r--core/fpdfapi/page/pageint.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/fpdfapi/page/pageint.h b/core/fpdfapi/page/pageint.h
index cf3522d44a..49a4845e96 100644
--- a/core/fpdfapi/page/pageint.h
+++ b/core/fpdfapi/page/pageint.h
@@ -61,9 +61,10 @@ class CPDF_StreamParser {
std::unique_ptr<CPDF_Object> GetObject() { return std::move(m_pLastObj); }
std::unique_ptr<CPDF_Object> ReadNextObject(bool bAllowNestedArray,
uint32_t dwInArrayLevel);
- std::unique_ptr<CPDF_Stream> ReadInlineStream(CPDF_Document* pDoc,
- CPDF_Dictionary* pDict,
- CPDF_Object* pCSObj);
+ std::unique_ptr<CPDF_Stream> ReadInlineStream(
+ CPDF_Document* pDoc,
+ std::unique_ptr<CPDF_Dictionary> pDict,
+ CPDF_Object* pCSObj);
private:
friend class cpdf_streamparser_ReadHexString_Test;