diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-04-25 16:42:59 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-26 00:04:32 +0000 |
commit | 5c42c8e9b78082319ad57f143ad03037d447aa36 (patch) | |
tree | 7df89fcecc6d9d581570f26097cf836e5aa5e4e6 /core/fpdfapi | |
parent | 1fe7d8c3819f6c6fdbf34a92146587a2eee8296a (diff) | |
download | pdfium-5c42c8e9b78082319ad57f143ad03037d447aa36.tar.xz |
Fix botched negation in cpdf_imageobject.cpp
Regressed at https://pdfium.googlesource.com/pdfium/+/7d4f6a89d7e2c5d13b7d630d6348950044a5465e
TBR=thestig@chromium.org
Change-Id: I25b8d6b4847090af18c9f36e4cea07a1eeb2a99a
Reviewed-on: https://pdfium-review.googlesource.com/4500
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi')
-rw-r--r-- | core/fpdfapi/page/cpdf_imageobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_imageobject.cpp b/core/fpdfapi/page/cpdf_imageobject.cpp index 1c2cc6ba7e..8732c00954 100644 --- a/core/fpdfapi/page/cpdf_imageobject.cpp +++ b/core/fpdfapi/page/cpdf_imageobject.cpp @@ -61,7 +61,7 @@ void CPDF_ImageObject::MaybePurgeCache() { return; CPDF_DocPageData* pPageData = pDocument->GetPageData(); - if (pPageData) + if (!pPageData) return; CPDF_Stream* pStream = m_pImage->GetStream(); |