Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: core/fpdfapi/render/cpdf_imageloader.h

Issue 2524403002: Merge CPDF_ImageLoader with its handle (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/fpdfapi/render/cpdf_imageloader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/render/cpdf_imageloader.h
diff --git a/core/fpdfapi/render/cpdf_imageloader.h b/core/fpdfapi/render/cpdf_imageloader.h
index da578a321faf3af379569d89986744a1ec1ba4ea..a270c45bbfbd891e8e5b1f0fe39df47f269a3e78 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_
« no previous file with comments | « no previous file | core/fpdfapi/render/cpdf_imageloader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698