summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_dibsource.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-03-05 14:55:07 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-05 14:55:07 +0000
commitaa11f46e7bd846ef26d4cdd2be4f92f7a63d1cdb (patch)
tree5427063bd20630ae67c045490c1b41a8143c5668 /core/fpdfapi/render/cpdf_dibsource.h
parentb05836511dfab9483438fc8dcbab2f4ae6dcc1b1 (diff)
downloadpdfium-aa11f46e7bd846ef26d4cdd2be4f92f7a63d1cdb.tar.xz
Change CPDF_DIBSource::LoadJpxBitmap() to return a bitmap.
Change-Id: If819bee4809142e2f9c9b0830f00264b0fbaf862 Reviewed-on: https://pdfium-review.googlesource.com/27852 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_dibsource.h')
-rw-r--r--core/fpdfapi/render/cpdf_dibsource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_dibsource.h b/core/fpdfapi/render/cpdf_dibsource.h
index dce5a535c4..931fdc4fc8 100644
--- a/core/fpdfapi/render/cpdf_dibsource.h
+++ b/core/fpdfapi/render/cpdf_dibsource.h
@@ -86,7 +86,7 @@ class CPDF_DIBSource : public CFX_DIBSource {
bool LoadColorInfo(const CPDF_Dictionary* pFormResources,
const CPDF_Dictionary* pPageResources);
DIB_COMP_DATA* GetDecodeAndMaskArray(bool* bDefaultDecode, bool* bColorKey);
- void LoadJpxBitmap();
+ RetainPtr<CFX_DIBitmap> LoadJpxBitmap();
void LoadPalette();
int CreateDecoder();
bool CreateDCTDecoder(const uint8_t* src_data,