summaryrefslogtreecommitdiff
path: root/fxjs/cjx_node.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-21 21:49:30 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-21 21:49:30 +0000
commit7c986a085631639d38076918e0df719d11f40e59 (patch)
tree578938ce134e8bf69ea62152ce8d1669cf7639b2 /fxjs/cjx_node.cpp
parent135c6601bd9d12bd935371d3122f8e75391de75b (diff)
downloadpdfium-7c986a085631639d38076918e0df719d11f40e59.tar.xz
Cleanup CXFA_FillData
This CL makes the CXFA_FillData methods const and splits them into retrieving fill information and fill colour methods. Change-Id: Ie407be87c631ea68efa0934d9a98e412ed1eb922 Reviewed-on: https://pdfium-review.googlesource.com/18950 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjx_node.cpp')
-rw-r--r--fxjs/cjx_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjx_node.cpp b/fxjs/cjx_node.cpp
index 8de755d9fd..9da9cf0ce1 100644
--- a/fxjs/cjx_node.cpp
+++ b/fxjs/cjx_node.cpp
@@ -1600,7 +1600,7 @@ void CJX_Node::Script_Som_FillColor(CFXJSE_Value* pValue,
return;
}
- FX_ARGB color = borderfillData.GetColor();
+ FX_ARGB color = borderfillData.GetColor(false);
int32_t a;
int32_t r;
int32_t g;