summaryrefslogtreecommitdiff
path: root/core/fxge/win32/win32_int.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-01-26 15:31:49 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-26 15:31:49 +0000
commitb0f33f284832a49026787f9ee07750dd04fedc4d (patch)
treeb3f186005f958455de9c753c60d65c92287fe47b /core/fxge/win32/win32_int.h
parent65544d7add9aa3c7facc2df523e12f2d4163ea9b (diff)
downloadpdfium-b0f33f284832a49026787f9ee07750dd04fedc4d.tar.xz
Mark some fxge class members as const.
Change-Id: I063690047274372b449726cd5d2c479bad0672f4 Reviewed-on: https://pdfium-review.googlesource.com/24150 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxge/win32/win32_int.h')
-rw-r--r--core/fxge/win32/win32_int.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fxge/win32/win32_int.h b/core/fxge/win32/win32_int.h
index d4f2597033..8bc8290845 100644
--- a/core/fxge/win32/win32_int.h
+++ b/core/fxge/win32/win32_int.h
@@ -323,7 +323,7 @@ class CPSPrinterDriver : public IFX_RenderDeviceDriver {
uint32_t color) override;
HDC m_hDC;
- bool m_bCmykOutput;
+ const bool m_bCmykOutput;
int m_Width;
int m_Height;
int m_nBitsPerPixel;
@@ -386,11 +386,11 @@ class CTextOnlyPrinterDriver : public IFX_RenderDeviceDriver {
uint32_t color) override;
HDC m_hDC;
- int m_Width;
- int m_Height;
+ const int m_Width;
+ const int m_Height;
int m_nBitsPerPixel;
- int m_HorzSize;
- int m_VertSize;
+ const int m_HorzSize;
+ const int m_VertSize;
float m_OriginY;
bool m_SetOrigin;
};