diff options
author | Lei Zhang <thestig@chromium.org> | 2017-12-11 21:28:38 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-11 21:28:38 +0000 |
commit | 731526e3b9f32ceac1cdac600fe3ecd55a0bc9b5 (patch) | |
tree | 7606b1ec1ad1e4c15136515958a22e0e3fbdfb0a /core/fpdfapi/parser/cpdf_stream_acc.h | |
parent | 92c8b1a07b01f428ec3f2b6d04acc109bfdeb3da (diff) | |
download | pdfium-731526e3b9f32ceac1cdac600fe3ecd55a0bc9b5.tar.xz |
Move some GetDict() calls out of header files.
Change-Id: I13b297ddb080b478a30a959889941b46feb363b3
Reviewed-on: https://pdfium-review.googlesource.com/20770
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_stream_acc.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_stream_acc.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fpdfapi/parser/cpdf_stream_acc.h b/core/fpdfapi/parser/cpdf_stream_acc.h index c270285345..6a18c43975 100644 --- a/core/fpdfapi/parser/cpdf_stream_acc.h +++ b/core/fpdfapi/parser/cpdf_stream_acc.h @@ -28,9 +28,7 @@ class CPDF_StreamAcc : public Retainable { bool bImageAcc = false); const CPDF_Stream* GetStream() const { return m_pStream.Get(); } - CPDF_Dictionary* GetDict() const { - return m_pStream ? m_pStream->GetDict() : nullptr; - } + CPDF_Dictionary* GetDict() const; const uint8_t* GetData() const; uint8_t* GetData(); |