summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_layout_itemlayout.h
diff options
context:
space:
mode:
authorGraeme Connell <gconnell@google.com>2017-02-06 10:52:35 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-02-06 20:11:27 +0000
commitbaf318f298af51bcf1e8719de703773e5e3b94ea (patch)
tree956acda0c29bd8d001a1e9f447e13ea6df63194a /xfa/fxfa/parser/xfa_layout_itemlayout.h
parentf9baca8709472f71fe0e5bcae95717b7f712b4a5 (diff)
downloadpdfium-baf318f298af51bcf1e8719de703773e5e3b94ea.tar.xz
Fix stream reading from pFile.
If m_pFile is set, m_bMemoryBased is set to false. However, ReadRawData incorrectly checks if m_bMemoryBased is TRUE before passing a read to m_pFile. This fix changes things to correctly call m_pFile's ReadBlock. Filed associated https://bugs.chromium.org/p/pdfium/issues/detail?id=662 BUG=pdfium:662 Change-Id: If58af9093e3de78261a4cf1eb0460b7c7c153e5a Reviewed-on: https://pdfium-review.googlesource.com/2532 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/xfa_layout_itemlayout.h')
0 files changed, 0 insertions, 0 deletions