summaryrefslogtreecommitdiff
path: root/fpdfsdk/fsdk_common.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-03-15 14:59:47 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-15 14:59:47 +0000
commit0202adeb5a042ca43f29439ef59e7bc3d4f8268f (patch)
treed612d7c7be4cfd8dabb654f593a807fc1b545390 /fpdfsdk/fsdk_common.h
parentd1ffda2acaee90a7b8a6dd36e0605dce826058e9 (diff)
downloadpdfium-0202adeb5a042ca43f29439ef59e7bc3d4f8268f.tar.xz
Fix a red-blue channel flip when rendering masks to EMF.
Use BGR instead of RGB in CGdiDeviceDriver::GDI_StretchBitMask(). Many win32 GDI APIs take COLORREF as input, and COLORREF is BGR. In this case, a win32 API was being called with RGB data. BUG=chromium:821672 Change-Id: Ia530c7ef5582eed13ac7119935851cfe0ad57323 Reviewed-on: https://pdfium-review.googlesource.com/28573 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fpdfsdk/fsdk_common.h')
0 files changed, 0 insertions, 0 deletions