summaryrefslogtreecommitdiff
path: root/core/fxge
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-04 23:01:00 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-04 23:01:00 +0000
commitc38c9d15f18c2b883df6e29f2364d05699b87d53 (patch)
tree9c9c3e133edf40d820acb4e96aec394224d87668 /core/fxge
parent30540a95637256412eab3e87f954ee2b9793678f (diff)
downloadpdfium-c38c9d15f18c2b883df6e29f2364d05699b87d53.tar.xz
Refer to const smart pointers consistently.
SmartPtr<T> const m_Ptr, instead of const SmartPtr<T> m_Ptr. Change-Id: I8001b0334543f49d138a24438def62088a15c6e4 Reviewed-on: https://pdfium-review.googlesource.com/c/43512 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge')
-rw-r--r--core/fxge/dib/cfx_imagerenderer.h4
-rw-r--r--core/fxge/dib/cfx_imagetransformer.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/core/fxge/dib/cfx_imagerenderer.h b/core/fxge/dib/cfx_imagerenderer.h
index 905ff8c25d..5232933f49 100644
--- a/core/fxge/dib/cfx_imagerenderer.h
+++ b/core/fxge/dib/cfx_imagerenderer.h
@@ -36,8 +36,8 @@ class CFX_ImageRenderer {
bool Continue(PauseIndicatorIface* pPause);
private:
- const RetainPtr<CFX_DIBitmap> m_pDevice;
- const UnownedPtr<const CFX_ClipRgn> m_pClipRgn;
+ RetainPtr<CFX_DIBitmap> const m_pDevice;
+ UnownedPtr<const CFX_ClipRgn> const m_pClipRgn;
const CFX_Matrix m_Matrix;
const int m_BitmapAlpha;
const int m_BlendType;
diff --git a/core/fxge/dib/cfx_imagetransformer.h b/core/fxge/dib/cfx_imagetransformer.h
index 61fe1e1ba1..c19e744c1a 100644
--- a/core/fxge/dib/cfx_imagetransformer.h
+++ b/core/fxge/dib/cfx_imagetransformer.h
@@ -98,7 +98,7 @@ class CFX_ImageTransformer {
int increment,
std::function<void(const DownSampleData&, uint8_t*)> func);
- const RetainPtr<CFX_DIBBase> m_pSrc;
+ RetainPtr<CFX_DIBBase> const m_pSrc;
UnownedPtr<const CFX_Matrix> const m_pMatrix;
const FX_RECT* const m_pClip;
FX_RECT m_StretchClip;