diff options
author | weili <weili@chromium.org> | 2016-06-21 11:24:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-21 11:24:24 -0700 |
commit | 095d346ff71ebe0385dfe7fa77baad6a1ce91fcb (patch) | |
tree | 2cfdb14ff75fb94607eea2306c56e282b25edf31 /core/fxge/win32/fx_win32_print.cpp | |
parent | 8f93cc640473a7d2855c3bc9bfd5169a8b1ca76c (diff) | |
download | pdfium-095d346ff71ebe0385dfe7fa77baad6a1ce91fcb.tar.xz |
Move ifx_renderdevicedriver to a separate file to share
Move ifx_renderdevicedriver class to its own file to share with
multiple devices to reduce code duplication.
Review-Url: https://codereview.chromium.org/2078783002
Diffstat (limited to 'core/fxge/win32/fx_win32_print.cpp')
-rw-r--r-- | core/fxge/win32/fx_win32_print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/win32/fx_win32_print.cpp b/core/fxge/win32/fx_win32_print.cpp index 0e89e71889..02569edc38 100644 --- a/core/fxge/win32/fx_win32_print.cpp +++ b/core/fxge/win32/fx_win32_print.cpp @@ -23,7 +23,7 @@ CGdiPrinterDriver::CGdiPrinterDriver(HDC hDC) CGdiPrinterDriver::~CGdiPrinterDriver() {} -int CGdiPrinterDriver::GetDeviceCaps(int caps_id) { +int CGdiPrinterDriver::GetDeviceCaps(int caps_id) const { if (caps_id == FXDC_HORZ_SIZE) return m_HorzSize; if (caps_id == FXDC_VERT_SIZE) |