summaryrefslogtreecommitdiff
path: root/core/fxge/dib/cfx_dibitmap.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-03-21 13:35:36 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-21 13:35:36 +0000
commit78faa4365445f69890dc990e4d07a68e68e89ae4 (patch)
treef5b1ac5ad51b4367ed34a88ca0f083446e91f4f2 /core/fxge/dib/cfx_dibitmap.h
parent9a635e8127880dd93b2abc5e8da6a45046d35e31 (diff)
downloadpdfium-78faa4365445f69890dc990e4d07a68e68e89ae4.tar.xz
Change FXSYS_Get{R,G,B}Value()'s input param to BGR.
Also change them from macros to constexpr functions. Change-Id: I5ebec07487b7b7f59cc769debc95c730776d4613 Reviewed-on: https://pdfium-review.googlesource.com/28578 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/dib/cfx_dibitmap.h')
-rw-r--r--core/fxge/dib/cfx_dibitmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/dib/cfx_dibitmap.h b/core/fxge/dib/cfx_dibitmap.h
index 7240829773..00a145af68 100644
--- a/core/fxge/dib/cfx_dibitmap.h
+++ b/core/fxge/dib/cfx_dibitmap.h
@@ -122,7 +122,7 @@ class CFX_DIBitmap : public CFX_DIBSource {
#endif
private:
- void ConvertRGBColorScale(uint32_t forecolor, uint32_t backcolor);
+ void ConvertBGRColorScale(uint32_t forecolor, uint32_t backcolor);
void ConvertCMYKColorScale(uint32_t forecolor, uint32_t backcolor);
};