summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfx_barcode.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-09-05 12:07:02 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-05 17:27:26 +0000
commit1eae16d3b17d6b396969ecf81f6546f5a1d72dfd (patch)
tree6819d423b15bd05d68b296c6769a6bf531850dbe /xfa/fwl/cfx_barcode.cpp
parente7767a0c98548395c95b9f88fc30cf7b318f1939 (diff)
downloadpdfium-1eae16d3b17d6b396969ecf81f6546f5a1d72dfd.tar.xz
Remove isDevice parameter from barcode Render().
isDevice is currently false in tests and fuzzers and true in real usage. This CL changes it all to true. Change-Id: Idea14795d7f0bb70031e04e5c58e248de72fd39e Reviewed-on: https://pdfium-review.googlesource.com/13130 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fwl/cfx_barcode.cpp')
-rw-r--r--xfa/fwl/cfx_barcode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fwl/cfx_barcode.cpp b/xfa/fwl/cfx_barcode.cpp
index eeeac6164e..8b51f2d741 100644
--- a/xfa/fwl/cfx_barcode.cpp
+++ b/xfa/fwl/cfx_barcode.cpp
@@ -294,8 +294,8 @@ bool CFX_Barcode::SetTruncated(bool truncated) {
: false;
}
-bool CFX_Barcode::Encode(const CFX_WideStringC& contents, bool isDevice) {
- return m_pBCEngine && m_pBCEngine->Encode(contents, isDevice);
+bool CFX_Barcode::Encode(const CFX_WideStringC& contents) {
+ return m_pBCEngine && m_pBCEngine->Encode(contents);
}
bool CFX_Barcode::RenderDevice(CFX_RenderDevice* device,