summaryrefslogtreecommitdiff
path: root/xfa/fde/fde_gedevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/fde_gedevice.h')
-rw-r--r--xfa/fde/fde_gedevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/fde_gedevice.h b/xfa/fde/fde_gedevice.h
index 976e1bde6f..a3a1eaf111 100644
--- a/xfa/fde/fde_gedevice.h
+++ b/xfa/fde/fde_gedevice.h
@@ -34,7 +34,7 @@ class CFDE_RenderDevice {
float GetDpiX() const;
float GetDpiY() const;
- bool DrawImage(CFX_DIBSource* pDib,
+ bool DrawImage(const CFX_RetainPtr<CFX_DIBSource>& pDib,
const CFX_RectF* pSrcRect,
const CFX_RectF& dstRect,
const CFX_Matrix* pImgMatrix = nullptr,