diff options
author | npm <npm@chromium.org> | 2016-11-28 11:38:37 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-28 11:38:37 -0800 |
commit | c92e26defaa636b0d2ec9b9de0f88c6153ad7ed3 (patch) | |
tree | 9a65b3e9d06b8f463d8696189d98bfee42ab202a /core/fpdfapi/render/cpdf_imageloader.h | |
parent | 80ddd61fa9bbb76cbebaa0c28fb166ae7a75a828 (diff) | |
download | pdfium-c92e26defaa636b0d2ec9b9de0f88c6153ad7ed3.tar.xz |
Merge CPDF_ImageLoader with its handle
Review-Url: https://codereview.chromium.org/2524403002
Diffstat (limited to 'core/fpdfapi/render/cpdf_imageloader.h')
-rw-r--r-- | core/fpdfapi/render/cpdf_imageloader.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/fpdfapi/render/cpdf_imageloader.h b/core/fpdfapi/render/cpdf_imageloader.h index da578a321f..a270c45bbf 100644 --- a/core/fpdfapi/render/cpdf_imageloader.h +++ b/core/fpdfapi/render/cpdf_imageloader.h @@ -12,7 +12,6 @@ #include "core/fxcrt/fx_basic.h" #include "core/fxge/fx_dib.h" -class CPDF_ImageLoaderHandle; class CPDF_ImageObject; class CPDF_PageRenderCache; class CPDF_RenderStatus; @@ -38,10 +37,12 @@ class CPDF_ImageLoader { bool m_bCached; private: + void HandleFailure(); + int32_t m_nDownsampleWidth; int32_t m_nDownsampleHeight; - - std::unique_ptr<CPDF_ImageLoaderHandle> m_pLoadHandle; + CPDF_PageRenderCache* m_pCache; + CPDF_ImageObject* m_pImage; }; #endif // CORE_FPDFAPI_RENDER_CPDF_IMAGELOADER_H_ |