summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_sampledfunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_sampledfunc.h')
-rw-r--r--core/fpdfapi/page/cpdf_sampledfunc.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/fpdfapi/page/cpdf_sampledfunc.h b/core/fpdfapi/page/cpdf_sampledfunc.h
index 59fe1ef141..d6dfed575f 100644
--- a/core/fpdfapi/page/cpdf_sampledfunc.h
+++ b/core/fpdfapi/page/cpdf_sampledfunc.h
@@ -11,7 +11,7 @@
#include "core/fpdfapi/page/cpdf_function.h"
#include "core/fpdfapi/parser/cpdf_stream_acc.h"
-#include "core/fxcrt/cfx_retain_ptr.h"
+#include "core/fxcrt/retain_ptr.h"
class CPDF_SampledFunc : public CPDF_Function {
public:
@@ -37,16 +37,14 @@ class CPDF_SampledFunc : public CPDF_Function {
return m_EncodeInfo;
}
uint32_t GetBitsPerSample() const { return m_nBitsPerSample; }
- CFX_RetainPtr<CPDF_StreamAcc> GetSampleStream() const {
- return m_pSampleStream;
- }
+ RetainPtr<CPDF_StreamAcc> GetSampleStream() const { return m_pSampleStream; }
private:
std::vector<SampleEncodeInfo> m_EncodeInfo;
std::vector<SampleDecodeInfo> m_DecodeInfo;
uint32_t m_nBitsPerSample;
uint32_t m_SampleMax;
- CFX_RetainPtr<CPDF_StreamAcc> m_pSampleStream;
+ RetainPtr<CPDF_StreamAcc> m_pSampleStream;
};
#endif // CORE_FPDFAPI_PAGE_CPDF_SAMPLEDFUNC_H_