summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_renderdevice.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-01-12 21:21:51 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-12 21:21:51 +0000
commit14e77443e92ce3fdf1cebe85f8f5c8fe705a1558 (patch)
tree6663d55d22cc13f72d26941f2dfb4916be00a537 /core/fxge/cfx_renderdevice.h
parent9baf31f8c38e1c5266609e184cc07e369b744760 (diff)
downloadpdfium-14e77443e92ce3fdf1cebe85f8f5c8fe705a1558.tar.xz
Move some RetainPtr getters/setters out of headers.
RetainPtr operations are not trivial. Change-Id: Ic106ada69d1c023a8132a2a59db17d550fd81fa0 Reviewed-on: https://pdfium-review.googlesource.com/22911 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/cfx_renderdevice.h')
-rw-r--r--core/fxge/cfx_renderdevice.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/fxge/cfx_renderdevice.h b/core/fxge/cfx_renderdevice.h
index 0f1cf9b6ca..5b18b2293a 100644
--- a/core/fxge/cfx_renderdevice.h
+++ b/core/fxge/cfx_renderdevice.h
@@ -113,10 +113,8 @@ class CFX_RenderDevice {
int GetRenderCaps() const { return m_RenderCaps; }
int GetDeviceCaps(int id) const;
CFX_Matrix GetCTM() const;
- RetainPtr<CFX_DIBitmap> GetBitmap() const { return m_pBitmap; }
- void SetBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap) {
- m_pBitmap = pBitmap;
- }
+ RetainPtr<CFX_DIBitmap> GetBitmap() const;
+ void SetBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap);
bool CreateCompatibleBitmap(const RetainPtr<CFX_DIBitmap>& pDIB,
int width,
int height) const;