diff options
author | Lei Zhang <thestig@chromium.org> | 2017-11-02 19:50:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 19:50:58 +0000 |
commit | f1be1e87045da36b52326fb269f7006670c0c9ab (patch) | |
tree | 629877b8d7bf46132e2f04ca655fe1cfcc1fc42a /xfa/fxfa/cxfa_ffwidget.cpp | |
parent | eda1761e6a90058a97cee1bcd763a2447eb6a67b (diff) | |
download | pdfium-f1be1e87045da36b52326fb269f7006670c0c9ab.tar.xz |
Rename Transparency to iTransparency.
Fix a mismatched parameter name in cpdf_renderstatus.h too.
Change-Id: I9765838e6ab93db37791fc282e553b6cb9c51ec5
Reviewed-on: https://pdfium-review.googlesource.com/17050
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffwidget.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/cxfa_ffwidget.cpp b/xfa/fxfa/cxfa_ffwidget.cpp index 77f1ac5006..6971d03df0 100644 --- a/xfa/fxfa/cxfa_ffwidget.cpp +++ b/xfa/fxfa/cxfa_ffwidget.cpp @@ -1441,7 +1441,7 @@ class CXFA_ImageRenderer { FX_ARGB mask_argb, int bitmap_alpha, int blend_mode, - int Transparency); + int iTransparency); CFX_RenderDevice* m_pDevice; int m_Status; @@ -1606,12 +1606,12 @@ void CXFA_ImageRenderer::CompositeDIBitmap( FX_ARGB mask_argb, int bitmap_alpha, int blend_mode, - int Transparency) { + int iTransparency) { if (!pDIBitmap) { return; } - bool bIsolated = !!(Transparency & PDFTRANS_ISOLATED); - bool bGroup = !!(Transparency & PDFTRANS_GROUP); + bool bIsolated = !!(iTransparency & PDFTRANS_ISOLATED); + bool bGroup = !!(iTransparency & PDFTRANS_GROUP); if (blend_mode == FXDIB_BLEND_NORMAL) { if (!pDIBitmap->IsAlphaMask()) { if (bitmap_alpha < 255) { |