diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-02 19:11:57 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 19:11:57 +0000 |
commit | 23aa2b0f8a3202337a40e8dcf3d8340bfd42e004 (patch) | |
tree | 51da1418339b19eb3ba9a175dc10e8ed29dbc3e9 /xfa/fxfa/parser/cxfa_fill.cpp | |
parent | 3ac07ffafea1ee4d3cf985e32692849dd3fcfdfb (diff) | |
download | pdfium-23aa2b0f8a3202337a40e8dcf3d8340bfd42e004.tar.xz |
Remove default values from CJX_Node::SetCData
This CL removes the default values from SetCData and inlines at the call
sites.
Change-Id: I664338a8c7fec2ee9ec0c9ed9f892e57ea1ced43
Reviewed-on: https://pdfium-review.googlesource.com/17534
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_fill.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_fill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_fill.cpp b/xfa/fxfa/parser/cxfa_fill.cpp index 96290bc821..8938a1935e 100644 --- a/xfa/fxfa/parser/cxfa_fill.cpp +++ b/xfa/fxfa/parser/cxfa_fill.cpp @@ -26,7 +26,7 @@ void CXFA_Fill::SetColor(FX_ARGB color) { int b; std::tie(a, r, g, b) = ArgbDecode(color); wsColor.Format(L"%d,%d,%d", r, g, b); - pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsColor); + pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsColor, false, false); } FX_ARGB CXFA_Fill::GetColor(bool bText) { |