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_device.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_device.cpp')
-rw-r--r-- | core/fxge/win32/fx_win32_device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/win32/fx_win32_device.cpp b/core/fxge/win32/fx_win32_device.cpp index 2df5c1c4ce..9087478837 100644 --- a/core/fxge/win32/fx_win32_device.cpp +++ b/core/fxge/win32/fx_win32_device.cpp @@ -755,7 +755,7 @@ CGdiDeviceDriver::CGdiDeviceDriver(HDC hDC, int device_class) { CGdiDeviceDriver::~CGdiDeviceDriver() {} -int CGdiDeviceDriver::GetDeviceCaps(int caps_id) { +int CGdiDeviceDriver::GetDeviceCaps(int caps_id) const { switch (caps_id) { case FXDC_DEVICE_CLASS: return m_DeviceClass; |