summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-05-29 18:45:39 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-29 18:45:39 +0000
commit162a31a6af1538acf7ac9835111626161287d742 (patch)
tree7235629237d6ff187e68a116604acd83c6700b1a /xfa/fxgraphics
parentac8357b3ec7e1fe4000ebcae5ce65a38bfeb5cb1 (diff)
downloadpdfium-162a31a6af1538acf7ac9835111626161287d742.tar.xz
Get rid of FXARGB_MAKE macro.
ArgbEncode() does the same thing. Change-Id: Ibb05ed4aae720c0a5ba66771699c0d7e11230921 Reviewed-on: https://pdfium-review.googlesource.com/32230 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxgraphics')
-rw-r--r--xfa/fxgraphics/cxfa_geshading.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxgraphics/cxfa_geshading.cpp b/xfa/fxgraphics/cxfa_geshading.cpp
index f6911696a1..d1bec708b9 100644
--- a/xfa/fxgraphics/cxfa_geshading.cpp
+++ b/xfa/fxgraphics/cxfa_geshading.cpp
@@ -73,6 +73,6 @@ void CXFA_GEShading::InitArgbArray() {
// TODO(dsinclair): Add overloads for FX_ARGB. pdfium:437
m_argbArray[i] =
- FXARGB_TODIB(FXARGB_MAKE(a1 + a3, r1 + r3, g1 + g3, b1 + b3));
+ FXARGB_TODIB(ArgbEncode(a1 + a3, r1 + r3, g1 + g3, b1 + b3));
}
}