summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_stream.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-18 14:48:21 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-18 14:48:21 -0800
commit430ab8363e77c48b2c2435af4d289f85e2be1b96 (patch)
treec0a9bff16a5b56d607d75c9f415dfc2cce7eb3fd /core/fpdfapi/parser/cpdf_stream.h
parent9053f19d78b6215570029d896c1d62bbb0ce5f7d (diff)
downloadpdfium-430ab8363e77c48b2c2435af4d289f85e2be1b96.tar.xz
Add unit test for CXFA_FileRead.
The FileRead's return convention is being modified at https://codereview.chromium.org/2430743003/, so first provide a test of the old behaviour. Fix some issues with null dictionaries as provided by the CPDF_Stream default ctor along the way. Review-Url: https://codereview.chromium.org/2517513003
Diffstat (limited to 'core/fpdfapi/parser/cpdf_stream.h')
-rw-r--r--core/fpdfapi/parser/cpdf_stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fpdfapi/parser/cpdf_stream.h b/core/fpdfapi/parser/cpdf_stream.h
index ddf7cc5b69..c4f9aacf2b 100644
--- a/core/fpdfapi/parser/cpdf_stream.h
+++ b/core/fpdfapi/parser/cpdf_stream.h
@@ -46,6 +46,7 @@ class CPDF_Stream : public CPDF_Object {
uint32_t buf_size) const;
bool IsMemoryBased() const { return m_bMemoryBased; }
+ bool HasFilter() const;
protected:
std::unique_ptr<CPDF_Object> CloneNonCyclic(