summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_imageloader.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-11-28 11:38:37 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-28 11:38:37 -0800
commitc92e26defaa636b0d2ec9b9de0f88c6153ad7ed3 (patch)
tree9a65b3e9d06b8f463d8696189d98bfee42ab202a /core/fpdfapi/render/cpdf_imageloader.h
parent80ddd61fa9bbb76cbebaa0c28fb166ae7a75a828 (diff)
downloadpdfium-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.h7
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_