diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-25 18:01:52 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-25 18:01:52 +0000 |
commit | 537f4c7b592a6981f9686297496cb23b461dfd5e (patch) | |
tree | af3ba90c5a64eaa24e252484c3484f9b8ed94d9b /core/fxge/cfx_windowsrenderdevice.h | |
parent | 306b9a87090ba4c4cc8453ef04f230620e224fe0 (diff) | |
download | pdfium-537f4c7b592a6981f9686297496cb23b461dfd5e.tar.xz |
Use WindowsPrintMode in more places in place of ints.
Move WindowsPrintMode assertion into CPSPrinterDriver.
Change-Id: I570076b43751e052c5396e89a6674b83a4ad1a1e
Reviewed-on: https://pdfium-review.googlesource.com/31298
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/cfx_windowsrenderdevice.h')
-rw-r--r-- | core/fxge/cfx_windowsrenderdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/cfx_windowsrenderdevice.h b/core/fxge/cfx_windowsrenderdevice.h index c6e6686fab..bbe13415c6 100644 --- a/core/fxge/cfx_windowsrenderdevice.h +++ b/core/fxge/cfx_windowsrenderdevice.h @@ -32,7 +32,7 @@ extern bool g_pdfium_print_text_with_gdi; extern PDFiumEnsureTypefaceCharactersAccessible g_pdfium_typeface_accessible_func; #endif -extern int g_pdfium_print_mode; +extern WindowsPrintMode g_pdfium_print_mode; class CFX_WindowsRenderDevice : public CFX_RenderDevice { public: |