diff options
author | Lei Zhang <thestig@chromium.org> | 2018-03-15 14:59:47 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-15 14:59:47 +0000 |
commit | 0202adeb5a042ca43f29439ef59e7bc3d4f8268f (patch) | |
tree | d612d7c7be4cfd8dabb654f593a807fc1b545390 /fxjs/cfxjse_resolveprocessor.h | |
parent | d1ffda2acaee90a7b8a6dd36e0605dce826058e9 (diff) | |
download | pdfium-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 'fxjs/cfxjse_resolveprocessor.h')
0 files changed, 0 insertions, 0 deletions